From: Yao Zi Date: Fri, 30 May 2025 09:48:50 +0000 (+0000) Subject: board: thead: licheepi4a: Run proper U-Boot in S-Mode X-Git-Tag: v2025.10-rc1~118^2~33^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ea114209a731c422782d4945a244bec9aeffefe;p=pandora-u-boot.git 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 --- 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