summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-02 21:36:16 +0300
committerTom Rini <trini@konsulko.com>2021-07-28 21:27:54 +0300
commit6e3c6544c72b0b801b30b10ce2234b4e9fc2ae08 (patch)
treecc92f18376e89c2dbd93ffde2be3a28c578080d8 /lib/Makefile
parent8b6ee2484cf7eadc2be6e1768f894acd07856b43 (diff)
downloadu-boot-6e3c6544c72b0b801b30b10ce2234b4e9fc2ae08.tar.xz
Allow efi_loader header to be included always
It is bad practice to put function declarations behind an #ifdef since it makes it impossible to use IS_ENABLED() in the C code. The main reason for doing this is when an empty static inline function is desired when the feature is disabled. To this end, this header provides two different versions of various functions and macros. Collect them together in one place for clarity. Allow all the rest of the header to be included, regardless of the setting of EFI_LOADER. With the inclusion of blk.h the 'struct blk_desc' declaration is unnecessary. Drop it while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Makefile')
0 files changed, 0 insertions, 0 deletions