Re: [PATCH 5/7] Allow efi_loader header to be included always

2021-06-28 Thread Heinrich Schuchardt
On 6/28/21 3:48 AM, Simon Glass wrote: It is bad practice to put function declarations behind an #ifdef since it makes it impossible to use IS_ENABLED() in the C code. This header provides two different versions of various functions. Collect them together in one place for clarity. Allow all the

[PATCH 5/7] Allow efi_loader header to be included always

2021-06-27 Thread Simon Glass
It is bad practice to put function declarations behind an #ifdef since it makes it impossible to use IS_ENABLED() in the C code. This header provides two different versions of various functions. Collect them together in one place for clarity. Allow all the rest of the header to be included,