From 8ea114209a731c422782d4945a244bec9aeffefe Mon Sep 17 00:00:00 2001 From: Yao Zi Date: Fri, 30 May 2025 09:48:50 +0000 Subject: [PATCH] board: thead: licheepi4a: Run proper U-Boot in S-Mode 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 Reviewed-by: Leo Yu-Chi Liang --- configs/th1520_lpi4a_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/th1520_lpi4a_defconfig b/configs/th1520_lpi4a_defconfig index 6ced7afe6b1..68745395293 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.47.2