]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: Enable CONFIG_64BIT for static analysis
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 4 Mar 2024 07:04:29 +0000 (10:04 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 13 Mar 2024 16:40:43 +0000 (12:40 -0400)
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>
arch/arm/Kconfig

index 85f0111fcfee2f958615aa4596a55f3d9d592a1c..2105c1e1307f597d0c36369082a98eca67418991 100644 (file)
@@ -6,6 +6,7 @@ config SYS_ARCH
 
 config ARM64
        bool
+       select 64BIT
        select PHYS_64BIT
        select SYS_CACHE_SHIFT_6
        imply SPL_SEPARATE_BSS