diff options
author | Huan Zhou <me@per1cycle.org> | 2025-03-11 09:38:51 +0800 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2025-03-25 16:34:50 +0800 |
commit | 9c40d92305db53f71ae31431b99f73ced11f334e (patch) | |
tree | 60901cc3353239258a5e4009b14b63b5e6c87e64 | |
parent | d5b621d8b547c5e32061ee355a5d8d59faf8d774 (diff) |
Add reset config options for k1
Add RESET_SPACEMIT_K1 option in config.
Signed-off-by: Huan Zhou <me@per1cycle.org>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
-rw-r--r-- | arch/riscv/cpu/k1/Kconfig | 1 | ||||
-rw-r--r-- | configs/bananapi-f3_defconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/cpu/k1/Kconfig b/arch/riscv/cpu/k1/Kconfig index d9cd8dce964..14201df80f2 100644 --- a/arch/riscv/cpu/k1/Kconfig +++ b/arch/riscv/cpu/k1/Kconfig @@ -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 diff --git a/configs/bananapi-f3_defconfig b/configs/bananapi-f3_defconfig index 0f12db3db84..7483f128bae 100644 --- a/configs/bananapi-f3_defconfig +++ b/configs/bananapi-f3_defconfig @@ -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 |