aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Carpenter2024-03-04 10:04:15 +0300
committerTom Rini2024-03-13 12:40:43 -0400
commit24c4ac842ef4cb727f380634242a3aa3bff949a5 (patch)
tree5c4f4793f00e7af8206028788666a248fde7478c
parentd545fe3b82ca319f699abb40f59f7ab5f8116de5 (diff)
Kconfig: move CONFIG_32/64BIT to arch/Kconfig
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>
-rw-r--r--arch/Kconfig6
-rw-r--r--arch/mips/Kconfig6
-rw-r--r--arch/riscv/Kconfig6
3 files changed, 6 insertions, 12 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 0d3cce919f8..f9aaf372478 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -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
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index f0704d97f79..eb7f3ad2376 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -473,12 +473,6 @@ config MIPS_TUNE_74KC
config MIPS_TUNE_OCTEON3
bool
-config 32BIT
- bool
-
-config 64BIT
- bool
-
config SWAP_IO_SPACE
bool
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index ac52c5e6daf..6c26f91f166 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -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