aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-03-04 10:04:29 +0300
committerTom Rini <trini@konsulko.com>2024-03-13 12:40:43 -0400
commit0cff87c90c676d0e5c5b59553a2a982782f024bb (patch)
treef1417067fd47105d5292c723c2df48a26007642b
parent24c4ac842ef4cb727f380634242a3aa3bff949a5 (diff)
downloadu-boot-0cff87c90c676d0e5c5b59553a2a982782f024bb.zip
u-boot-0cff87c90c676d0e5c5b59553a2a982782f024bb.tar.gz
u-boot-0cff87c90c676d0e5c5b59553a2a982782f024bb.tar.bz2
arm64: Enable CONFIG_64BIT for static analysis
In the Makefile there is a line that says this: # the checker needs the correct machine size CHECKFLAGS += $(if $(CONFIG_64BIT),-m64,-m32) Set CONFIG_64BIT for ARM64 so that we pass -m64 to the static checkers instead of -m32. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 85f0111..2105c1e 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -6,6 +6,7 @@ config SYS_ARCH
config ARM64
bool
+ select 64BIT
select PHYS_64BIT
select SYS_CACHE_SHIFT_6
imply SPL_SEPARATE_BSS