| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_SIFIVE_FU540 |
| 4 |
bool |
| 5 |
select ARCH_RISCV_RV64 |
| 6 |
select ARCH_RISCV_S |
| 7 |
select ARCH_RISCV_U |
| 8 |
select ARCH_RISCV_PMP |
| 9 |
select ARCH_BOOTBLOCK_RISCV |
| 10 |
select ARCH_VERSTAGE_RISCV |
| 11 |
select ARCH_ROMSTAGE_RISCV |
| 12 |
select ARCH_RAMSTAGE_RISCV |
| 13 |
select DRIVERS_UART_SIFIVE |
| 14 |
select RISCV_USE_ARCH_TIMER |
| 15 |
select UART_OVERRIDE_REFCLK |
| 16 |
select RISCV_HAS_OPENSBI |
| 17 |
|
| 18 |
if SOC_SIFIVE_FU540 |
| 19 |
|
| 20 |
config MEMLAYOUT_LD_FILE |
| 21 |
string |
| 22 |
default "src/soc/sifive/fu540/memlayout.ld" |
| 23 |
|
| 24 |
config RISCV_ARCH |
| 25 |
string |
| 26 |
default "rv64imac" |
| 27 |
|
| 28 |
config RISCV_ABI |
| 29 |
string |
| 30 |
default "lp64" |
| 31 |
|
| 32 |
config RISCV_CODEMODEL |
| 33 |
string |
| 34 |
default "medany" |
| 35 |
|
| 36 |
config MAX_CPUS |
| 37 |
int |
| 38 |
default 5 |
| 39 |
|
| 40 |
config RISCV_WORKING_HARTID |
| 41 |
int |
| 42 |
default 0 |
| 43 |
|
| 44 |
config OPENSBI_PLATFORM |
| 45 |
string |
| 46 |
default "generic" |
| 47 |
|
| 48 |
config OPENSBI_TEXT_START |
| 49 |
hex |
| 50 |
default 0x80000000 |
| 51 |
|
| 52 |
config RISCV_SOC_HAS_MENVCFG |
| 53 |
bool |
| 54 |
default n |
| 55 |
|
| 56 |
endif |