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
|
|
|
|
string
|
|
|
|
default "miv"
|
|
|
|
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
|
|
int
|
|
|
|
default 660000
|
|
|
|
|
|
|
|
config RISCV_SOC_INTERRUPT_INIT
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RISCV_HAS_CPU_IDLE
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config RISCV_HAS_PLIC
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
config NUM_IRQS
|
|
|
|
int
|
|
|
|
default 42
|
|
|
|
|
|
|
|
config XIP
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # SOC_SERIES_RISCV32_MIV
|