Add reset config options for k1
authorHuan Zhou <me@per1cycle.org>
Tue, 11 Mar 2025 01:38:51 +0000 (09:38 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 25 Mar 2025 08:34:50 +0000 (16:34 +0800)
Add RESET_SPACEMIT_K1 option in config.

Signed-off-by: Huan Zhou <me@per1cycle.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/cpu/k1/Kconfig
configs/bananapi-f3_defconfig

index d9cd8dc..14201df 100644 (file)
@@ -13,6 +13,7 @@ config SPACEMIT_K1
        imply RISCV_ACLINT if RISCV_MMODE
        imply SPL_RISCV_ACLINT if SPL_RISCV_MMODE
        imply CMD_CPU
+       imply DM_RESET
        imply SPL_CPU
        imply SPL_OPENSBI
        imply SPL_LOAD_FIT
index 0f12db3..7483f12 100644 (file)
@@ -18,3 +18,4 @@ CONFIG_HUSH_PARSER=y
 CONFIG_ENV_OVERWRITE=y
 CONFIG_SYS_NS16550=y
 CONFIG_SYS_NS16550_MEM32=y
+CONFIG_RESET_SPACEMIT_K1=y