diff options
author | Tom Rini <trini@konsulko.com> | 2025-04-04 12:26:50 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-04 16:49:59 -0600 |
commit | e458e103d4f5fb7aaf13e744c65916ab3ba4a18d (patch) | |
tree | 17d2faf81fd09e00120832bad46533f6478945cd /arch/x86/lib | |
parent | c5032bf3f63944464610d55c7a442758224585e6 (diff) | |
parent | e892c98f7b638cce64ca3e8147ef98bb9b789ed2 (diff) |
Merge patch series "64-bit U-Boot configuration without SPL"
Jeremy Compostella <jeremy.compostella@intel.com> says:
Introduces a new configuration option X86_RUN_64BIT_NO_SPL to allow
building U-Boot as a 64-bit binary without using the SPL (Secondary
Program Loader). The motivation is to simplify the boot process for
specific x86-based platforms that do not require SPL, such as those
booting directly from a 64-bit coreboot firmware.
Link: https://lore.kernel.org/r/87bjtyutkp.fsf@jcompost-mobl.amr.corp.intel.com
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/zimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/zimage.c b/arch/x86/lib/zimage.c index 65bccdae9b2..8f1c18eaadc 100644 --- a/arch/x86/lib/zimage.c +++ b/arch/x86/lib/zimage.c @@ -423,7 +423,7 @@ int zboot_go(struct bootm_info *bmi) entry = bmi->load_address; image_64bit = false; - if (IS_ENABLED(CONFIG_X86_RUN_64BIT) && + if (IS_ENABLED(CONFIG_X86_64) && (hdr->xloadflags & XLF_KERNEL_64)) { image_64bit = true; } |