]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Kconfig: move CONFIG_32/64BIT to arch/Kconfig
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 4 Mar 2024 07:04:15 +0000 (10:04 +0300)
committerTom Rini <trini@konsulko.com>
Wed, 13 Mar 2024 16:40:43 +0000 (12:40 -0400)
These configs are used in multiple places so put them in a shared
Kconfig file.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/Kconfig
arch/mips/Kconfig
arch/riscv/Kconfig

index 0d3cce919f8f5ea3df33f4778b381918390c0920..f9aaf37247825d84f4a7b8a2b875cbb933b30b89 100644 (file)
@@ -20,6 +20,12 @@ config SYS_CACHE_SHIFT_6
 config SYS_CACHE_SHIFT_7
        bool
 
+config 32BIT
+       bool
+
+config 64BIT
+       bool
+
 config SYS_CACHELINE_SIZE
        int
        default 128 if SYS_CACHE_SHIFT_7
index f0704d97f79b25d4a0837d9840ec3bb636a6013f..eb7f3ad23762e55d90134e9f88bed18be51ae8a1 100644 (file)
@@ -473,12 +473,6 @@ config MIPS_TUNE_74KC
 config MIPS_TUNE_OCTEON3
        bool
 
-config 32BIT
-       bool
-
-config 64BIT
-       bool
-
 config SWAP_IO_SPACE
        bool
 
index ac52c5e6dafab5c1af838830d13d0e5383198f85..6c26f91f16695ef8996311d088efb6d5c601163f 100644 (file)
@@ -288,12 +288,6 @@ endmenu
 config RISCV_ISA_A
        def_bool y
 
-config 32BIT
-       bool
-
-config 64BIT
-       bool
-
 config DMA_ADDR_T_64BIT
        bool
        default y if 64BIT