Browse Source

Revert "riscv: Enable the SiFive CLINT block driver in S-Mode(VIC7100 ONLY)"

This reverts commit 1b3668284b76569c3add4db14524fa5ad60cbc4e.

The SiFive CLINT driver is supposed to work in M-mode only.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Bin Meng 3 years ago
parent
commit
bfb5abac3d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/riscv/Kconfig

+ 2 - 1
arch/riscv/Kconfig

@@ -175,7 +175,8 @@ config DMA_ADDR_T_64BIT
 	default y if 64BIT
 
 config SIFIVE_CLINT
-	bool "Enable the SiFive CLINT block driver"
+	bool
+	depends on RISCV_MMODE || SPL_RISCV_MMODE
 	help
 	  The SiFive CLINT block holds memory-mapped control and status registers
 	  associated with software and timer interrupts.