grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] efi spi flash support - where to place


From: Michael Lawnick
Subject: Re: [RFC] efi spi flash support - where to place
Date: Mon, 1 Feb 2021 10:46:19 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0

Am 22.01.2021 um 16:58 schrieb Paul Menzel:
I'm not (yet) in sync with grub timeline, when is next release planned
(last commit date)?

March *last* year sometime? ;-) I think the current date is March,
though re-reading the list posts, do not hold your breath, that it will
be committed, as the maintainers won’t have time to apply the commit.

:-)

My commitr is currently in approval process for upstream by company.
Hope to get a 'go' next week.

In parallel I am now working on EFI_PCI_IO_CONTROL and run into a
problem while trying to find a common API:
From U-Boot I am accustomed to #define CONFIG_xxxxx usage. This
approach seems not to be used in GRUB but just module selection.

How can I control compilation of component selection dependent code
parts, especially in header files?
e.g. something like this (noted just for demo)
#ifdef EFI_PCI
typedef struct pci_dev {
EFI_type *attr1;
EFI_type *attr2;
};
#else
typedef struct pci_dev {
grub_type *attr3;
grub_type *attr4;
};
#endif

--
KR
Michael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]