2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2019-07-19 11:05:53 +08:00
|
|
|
if SOC_SERIES_RISCV_SIFIVE_FREEDOM
|
2017-03-15 05:15:59 +08:00
|
|
|
|
|
|
|
config SOC_SERIES
|
2018-08-16 06:41:21 +08:00
|
|
|
default "sifive-freedom"
|
2017-03-15 05:15:59 +08:00
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
default 32768
|
|
|
|
|
|
|
|
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 52
|
|
|
|
|
2017-03-15 05:15:59 +08:00
|
|
|
config NUM_IRQS
|
|
|
|
default 64
|
|
|
|
|
2019-07-19 11:05:53 +08:00
|
|
|
endif # SOC_SERIES_RISCV_SIFIVE_FREEDOM
|