[RFC 07/15] kconfig: remove CONFIG_COMAPT for big-endian (compat cods doesn't build atm)

Ben Dooks
2024-12-20T15:58:26Z

---
arch/riscv/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index d632bfad190c..5a72e7b31095 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -930,7 +930,7 @@ config ARCH_HAS_GENERIC_CRASHKERNEL_RESERVATION
config COMPAT
bool "Kernel support for 32-bit U-mode"
default 64BIT
- depends on 64BIT && MMU
+ depends on 64BIT && MMU && !CPU_BIG_ENDIAN
help
This option enables support for a 32-bit U-mode running under a 64-bit
kernel at S-mode. riscv32-specific components such as system calls,