diff options
author | Simon Glass <sjg@chromium.org> | 2021-12-29 11:57:43 -0700 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-12-31 06:45:01 +0100 |
commit | 9079486461c369df3f5a1d8bfb5003f8769554dc (patch) | |
tree | c073c21d085ca50075a7da4e0f73b2ccf035ca0c /include | |
parent | efd35c7d59814435cadfdd5296337cdeacd66948 (diff) | |
download | u-boot-9079486461c369df3f5a1d8bfb5003f8769554dc.zip u-boot-9079486461c369df3f5a1d8bfb5003f8769554dc.tar.gz u-boot-9079486461c369df3f5a1d8bfb5003f8769554dc.tar.bz2 |
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 <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/init.h | 7 |
1 files changed, 5 insertions, 2 deletions
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 <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> |