소스 검색

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 년 전
부모
커밋
bfb5abac3d
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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.