[PATCH v5 21/22] riscv: Allwinner D1: Drop M-Mode
Sascha Hauer
s.hauer at pengutronix.de
Fri Jan 16 00:12:32 PST 2026
The Allwinner D1 selects both RISCV_M_MODE and RISCV_S_MODE. The board
code uses barebox_riscv_machine_entry() and not barebox_riscv_machine_entry()
which indicates RISCV_M_MODE was only selected by accident. Remove it.
Reviewed-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/riscv/Kconfig.socs | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index 4a3b56b5ff..0d9984dd28 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -123,7 +123,6 @@ if SOC_ALLWINNER_SUN20I
config BOARD_ALLWINNER_D1
bool "Allwinner D1 Nezha"
select RISCV_S_MODE
- select RISCV_M_MODE
def_bool y
endif
--
2.47.3
More information about the barebox
mailing list