aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/cpu/fu540/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/cpu/fu540/Kconfig')
-rw-r--r--arch/riscv/cpu/fu540/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/cpu/fu540/Kconfig b/arch/riscv/cpu/fu540/Kconfig
index 53e19635c83..ac3f183342f 100644
--- a/arch/riscv/cpu/fu540/Kconfig
+++ b/arch/riscv/cpu/fu540/Kconfig
@@ -10,7 +10,7 @@ config SIFIVE_FU540
select SPL_RAM if SPL
imply CPU
imply CPU_RISCV
- imply RISCV_TIMER
+ imply RISCV_TIMER if (RISCV_SMODE || SPL_RISCV_SMODE)
imply SIFIVE_CLINT if (RISCV_MMODE || SPL_RISCV_MMODE)
imply CMD_CPU
imply SPL_CPU_SUPPORT