aboutsummaryrefslogtreecommitdiff
path: root/include/init.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-12-31 07:28:36 -0500
committerTom Rini <trini@konsulko.com>2021-12-31 07:28:36 -0500
commit5fec3c853d5e6b998db66f586871839c408195a3 (patch)
treec3368f8625b3a9383f30745ce1fafafc35cafac3 /include/init.h
parent87a9aa604de8a4a50642e25b88af328ab375893b (diff)
parent86bb48880d75653d692cd02edb81888a2ed2dbb2 (diff)
Merge tag 'efi-next' of https://source.denx.de/u-boot/custodians/u-boot-efi into next
Pull request of efi-next Documentation: * Add Sunxi board description UEFI: * Improvements to U-Boot running on top of UEFI
Diffstat (limited to 'include/init.h')
-rw-r--r--include/init.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/init.h b/include/init.h
index f2cd46dead..dcd682c1bf 100644
--- a/include/init.h
+++ b/include/init.h
@@ -14,8 +14,11 @@
#include <linux/types.h>
-/* Avoid using CONFIG_EFI_STUB directly as we may boot from other loaders */
-#ifdef CONFIG_EFI_STUB
+/*
+ * In case of the EFI app the UEFI firmware provides the low-level
+ * initialisation.
+ */
+#ifdef CONFIG_EFI
#define ll_boot_init() false
#else
#include <asm/global_data.h>