diff options
| author | Andrew Goodbody <[email protected]> | 2024-12-16 18:07:35 +0000 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-12-31 10:58:30 -0600 |
| commit | 99145eec2dca317da6b48d0f8fdd602001f87e61 (patch) | |
| tree | 653714fd5d5524d411d74b548198eedc29d5b1c2 /arch/Kconfig | |
| parent | bcb9b3524a8963e0ac6020b05fafe810d798ba35 (diff) | |
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 <[email protected]>
Signed-off-by: Andrew Goodbody <[email protected]>
Diffstat (limited to 'arch/Kconfig')
| -rw-r--r-- | arch/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index 6258788f53f..bb2e7bedd10 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -37,6 +37,14 @@ config 32BIT config 64BIT bool + help + Indicates that U-Boot proper will be built for a 64 bit + architecture. + +config SPL_64BIT + bool + help + Indicates that SPL will be built for a 64 bit architecture. config SYS_CACHELINE_SIZE int |
