50 lines
621 B
Plaintext
50 lines
621 B
Plaintext
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if SOC_SERIES_RISCV32_SIFIVE_FREEDOM
|
|
|
|
config SOC_SERIES
|
|
string
|
|
default "sifive-freedom"
|
|
|
|
config SYS_CLOCK_HW_CYCLES_PER_SEC
|
|
int
|
|
default 32768
|
|
|
|
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 64
|
|
|
|
config XIP
|
|
bool
|
|
default y
|
|
|
|
config RISCV_ROM_BASE_ADDR
|
|
hex
|
|
default 0x20400000
|
|
|
|
config RISCV_ROM_SIZE
|
|
hex
|
|
default 0xC00000
|
|
|
|
config RISCV_RAM_BASE_ADDR
|
|
hex
|
|
default 0x80000000
|
|
|
|
config RISCV_RAM_SIZE
|
|
hex
|
|
default 0x4000
|
|
|
|
endif # SOC_SERIES_RISCV32_SIFIVE_FREEDOM
|