arch/x86/lib: Fix CONFIG_X86_64 usage in zimage.c
authorJeremy Compostella <jeremy.compostella@intel.com>
Tue, 18 Mar 2025 17:40:34 +0000 (10:40 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 4 Apr 2025 18:26:36 +0000 (12:26 -0600)
commit8eefb60e89b8c7c4a14750fee0f6bd7cf1fcc4f9
tree18f2560db58d444c6024d0bdfea5b6f94e67beef
parente4246c1521c4b7bb1e3bece5c921f4c7e6a85e60
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>
arch/x86/lib/zimage.c