x86: select CONFIG_64BIT for X86_64
authorAndrew Goodbody <andrew.goodbody@linaro.org>
Mon, 16 Dec 2024 18:07:35 +0000 (18:07 +0000)
committerTom Rini <trini@konsulko.com>
Tue, 31 Dec 2024 16:58:30 +0000 (10:58 -0600)
commit99145eec2dca317da6b48d0f8fdd602001f87e61
tree653714fd5d5524d411d74b548198eedc29d5b1c2
parentbcb9b3524a8963e0ac6020b05fafe810d798ba35
x86: select CONFIG_64BIT for X86_64

Select CONFIG_64BIT so that we pass the -m64 option (instead of -m32) to
static analysis tools.
Introduce CONFIG_SPL_64BIT and select it for architectures other than
x86 with 64 bit builds. Do not select it for x86 builds as x86 uses
a 32 bit SPL.
Ensure that when limits are set they use CONFIG_64BIT for U-Boot
proper and CONFIG_SPL_64BIT for SPL. This is to allow for the 32 bit
SPL build used by x86.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
arch/Kconfig
arch/arm/Kconfig
arch/mips/Kconfig
arch/riscv/Kconfig
arch/sandbox/Kconfig
arch/x86/Kconfig
common/bloblist.c
include/limits.h