[PATCH v7 08/24] efi: Fix ll_boot_init() operation with the app
Simon Glass
sjg at chromium.org
Sat Dec 18 19:28:34 CET 2021
This should return false when the EFI app is running, since UEFI has done
the required low-level init. Fix it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
include/init.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/init.h b/include/init.h
index f2cd46dead0..3ce7b8b95bd 100644
--- a/include/init.h
+++ b/include/init.h
@@ -15,7 +15,7 @@
#include <linux/types.h>
/* Avoid using CONFIG_EFI_STUB directly as we may boot from other loaders */
-#ifdef CONFIG_EFI_STUB
+#ifdef CONFIG_EFI
#define ll_boot_init() false
#else
#include <asm/global_data.h>
--
2.34.1.173.g76aa8bc2d0-goog
More information about the U-Boot
mailing list