From: Simon Glass Date: Wed, 29 Dec 2021 18:57:43 +0000 (-0700) Subject: efi: Fix ll_boot_init() operation with the app X-Git-Tag: v2022.07~227^2~9^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9079486461c369df3f5a1d8bfb5003f8769554dc;p=platform%2Fkernel%2Fu-boot.git efi: Fix ll_boot_init() operation with the app 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 Reviewed-by: Heinrich Schuchardt --- diff --git a/include/init.h b/include/init.h index f2cd46d..dcd682c 100644 --- a/include/init.h +++ b/include/init.h @@ -14,8 +14,11 @@ #include -/* 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