Browse Source

starfive: beaglev: Disable SIFIVE_CLINT and enable RISCV_TIMER

As we are running in S-mode, RISCV_TIMER has to be used.
Adjust the config file accordingly.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Bin Meng 3 years ago
parent
commit
93099a61c7

+ 0 - 1
board/starfive/vic7100/Kconfig

@@ -63,6 +63,5 @@ config BOARD_SPECIFIC_OPTIONS # dummy
 	imply SYSRESET
 	imply SYSRESET_GPIO
 	imply CMD_DHCP
-	imply SIFIVE_CLINT
 
 endif

+ 1 - 2
configs/starfive_vic7100_beagle_v_smode_defconfig

@@ -84,7 +84,6 @@ CONFIG_CMODEL_MEDLOW=y
 CONFIG_RISCV_SMODE=y
 CONFIG_RISCV_ISA_C=y
 CONFIG_RISCV_ISA_A=y
-CONFIG_SIFIVE_CLINT=y
 CONFIG_SBI=y
 # CONFIG_SBI_V01 is not set
 CONFIG_SBI_V02=y
@@ -1121,7 +1120,7 @@ CONFIG_TIMER=y
 # CONFIG_RENESAS_OSTM_TIMER is not set
 # CONFIG_NOMADIK_MTU_TIMER is not set
 # CONFIG_OMAP_TIMER is not set
-# CONFIG_RISCV_TIMER is not set
+CONFIG_RISCV_TIMER=y
 # CONFIG_ROCKCHIP_TIMER is not set
 # CONFIG_STI_TIMER is not set
 # CONFIG_STM32_TIMER is not set