From: Dan Carpenter Date: Mon, 4 Mar 2024 07:04:29 +0000 (+0300) Subject: arm64: Enable CONFIG_64BIT for static analysis X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=0cff87c90c676d0e5c5b59553a2a982782f024bb;p=u-boot.git 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 --- diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 85f0111fcf..2105c1e130 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