RISC-V software usually expects S mode when leaving the firmware, e.g. UEFI applications could only run in S mode. Let's convert proper U-Boot of Lichee Pi 4A port to run in S mode.
Signed-off-by: Yao Zi <zi...@disroot.org> --- configs/th1520_lpi4a_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/th1520_lpi4a_defconfig b/configs/th1520_lpi4a_defconfig index b19dc009fde..32b39b295a8 100644 --- a/configs/th1520_lpi4a_defconfig +++ b/configs/th1520_lpi4a_defconfig @@ -11,6 +11,7 @@ CONFIG_SYS_LOAD_ADDR=0x80200000 # CONFIG_SMP is not set CONFIG_TARGET_TH1520_LPI4A=y CONFIG_ARCH_RV64I=y +CONFIG_RISCV_SMODE=y CONFIG_OF_BOARD_FIXUP=y CONFIG_SYS_BOOT_GET_CMDLINE=y CONFIG_SYS_BOOT_GET_KBD=y -- 2.49.0