mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 12:46:14 +02:00
arch/x86/lib: Fix CONFIG_X86_64 usage in zimage.c
Correct the preprocessor directive used to check for 64-bit kernel support in the `zboot_go` function. The code previously checked for `CONFIG_X86_RUN_64BIT`, which is not the correct configuration option for determining if the kernel should run in 64-bit mode. The correct option is `CONFIG_X86_64`. Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
e4246c1521
commit
8eefb60e89
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user