2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-06-11 01:02:14 +08:00
|
|
|
if SOC_SERIES_RISCV32_MIV
|
|
|
|
|
|
|
|
config SOC_SERIES
|
|
|
|
default "miv"
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 660000
|
|
|
|
|
|
|
|
config RISCV_SOC_INTERRUPT_INIT
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RISCV_HAS_CPU_IDLE
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RISCV_HAS_PLIC
|
|
|
|
default y
|
|
|
|
|
2019-08-09 12:01:37 +08:00
|
|
|
config 2ND_LVL_ISR_TBL_OFFSET
|
|
|
|
default 12
|
|
|
|
|
|
|
|
config 2ND_LVL_INTR_00_OFFSET
|
|
|
|
default 11
|
|
|
|
|
|
|
|
config MAX_IRQ_PER_AGGREGATOR
|
|
|
|
default 30
|
|
|
|
|
2018-06-11 01:02:14 +08:00
|
|
|
config NUM_IRQS
|
|
|
|
default 42
|
|
|
|
|
|
|
|
endif # SOC_SERIES_RISCV32_MIV
|