riscv/qemu-rv: add cluster PLIC/CLINT configs
This adds cluster specific configs for PLIC, CLINT and ACLINT devices. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
parent
2ff2b82437
commit
6db85498a2
|
@ -40,4 +40,24 @@ config ARCH_CHIP_QEMU_RV_ISA_V
|
|||
default n
|
||||
select ARCH_RV_ISA_V
|
||||
|
||||
endif
|
||||
config ARCH_CHIP_QEMU_RV_CLUSTER
|
||||
bool "Enable cluster support"
|
||||
default n
|
||||
|
||||
if ARCH_CHIP_QEMU_RV_CLUSTER
|
||||
|
||||
config ARCH_CHIP_QEMU_RV_PLIC
|
||||
hex "Base address of PLIC device"
|
||||
default 0xc000000
|
||||
|
||||
config ARCH_CHIP_QEMU_RV_CLINT
|
||||
hex "Base address of CLINT device"
|
||||
default 0x2000000
|
||||
|
||||
config ARCH_CHIP_QEMU_RV_ACLINT
|
||||
hex "Base address of ACLINT device"
|
||||
default 0x2f00000
|
||||
|
||||
endif # ARCH_CHIP_QEMU_RV_CLUSTER
|
||||
|
||||
endif # ARCH_CHIP_QEMU_RV
|
||||
|
|
Loading…
Reference in New Issue