With the way we now prompt for big or little endian support, the "select
... if ..." portion of the ARC symbol doesn't work as intended. But now
that we do have a globally visible prompt for big or little, switch to
using that fully instead of a custom symbol.
Fixes: cbef295441b4 ("Kconfig: Unify endian support option")
Signed-off-by: Tom Rini <[email protected]>
---
Cc: Alexey Brodkin <[email protected]>
Cc: Eugeniy Paltsev <[email protected]>
Cc: [email protected]
---
arch/Kconfig | 2 --
arch/arc/Kconfig | 5 -----
configs/nsim_700be_defconfig | 2 +-
configs/nsim_hs38be_defconfig | 2 +-
4 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index 35b19f9bfdca..e5a003d1ddc4 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -82,8 +82,6 @@ config ARC
select TIMER
select SUPPORT_BIG_ENDIAN
select SUPPORT_LITTLE_ENDIAN
- select SYS_BIG_ENDIAN if CPU_BIG_ENDIAN
- select SYS_LITTLE_ENDIAN if !CPU_BIG_ENDIAN
config ARM
bool "ARM architecture"
diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig
index be9774dc2896..ab90aa90e8ae 100644
--- a/arch/arc/Kconfig
+++ b/arch/arc/Kconfig
@@ -99,11 +99,6 @@ config ARC_MMU_VER
default 3 if ARC_MMU_V3
default 4 if ARC_MMU_V4
-config CPU_BIG_ENDIAN
- bool "Enable Big Endian Mode"
- help
- Build kernel for Big Endian Mode of ARC CPU
-
config SYS_ICACHE_OFF
bool "Do not enable icache"
help
diff --git a/configs/nsim_700be_defconfig b/configs/nsim_700be_defconfig
index 4832195f6b47..f51d17516550 100644
--- a/configs/nsim_700be_defconfig
+++ b/configs/nsim_700be_defconfig
@@ -1,5 +1,4 @@
CONFIG_ARC=y
-CONFIG_CPU_BIG_ENDIAN=y
CONFIG_TARGET_NSIM=y
CONFIG_NSIM_BOARD_CPPFLAGS="-mcpu=arc700 -mlock -mswape"
CONFIG_TEXT_BASE=0x81000000
@@ -14,6 +13,7 @@ CONFIG_DEBUG_UART_BASE=0xf0000000
CONFIG_DEBUG_UART_CLOCK=70000000
CONFIG_SYS_CLK_FREQ=70000000
CONFIG_DEBUG_UART=y
+CONFIG_SYS_BIG_ENDIAN=y
CONFIG_BOOTDELAY=3
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=ttyS0,115200n8"
diff --git a/configs/nsim_hs38be_defconfig b/configs/nsim_hs38be_defconfig
index 67de123d16bb..3ae76cd140bb 100644
--- a/configs/nsim_hs38be_defconfig
+++ b/configs/nsim_hs38be_defconfig
@@ -1,6 +1,5 @@
CONFIG_ARC=y
CONFIG_ISA_ARCV2=y
-CONFIG_CPU_BIG_ENDIAN=y
CONFIG_TARGET_NSIM=y
CONFIG_NSIM_BOARD_CPPFLAGS="-mcpu=archs"
CONFIG_TEXT_BASE=0x81000000
@@ -15,6 +14,7 @@ CONFIG_DEBUG_UART_BASE=0xf0000000
CONFIG_DEBUG_UART_CLOCK=70000000
CONFIG_SYS_CLK_FREQ=70000000
CONFIG_DEBUG_UART=y
+CONFIG_SYS_BIG_ENDIAN=y
CONFIG_BOOTDELAY=3
CONFIG_USE_BOOTARGS=y
CONFIG_BOOTARGS="console=ttyS0,115200n8"
--
2.43.0