| 1 |
## SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
config SOC_UCB_RISCV |
| 4 |
select ARCH_RISCV_S |
| 5 |
select ARCH_RISCV_U |
| 6 |
select ARCH_RISCV_PMP |
| 7 |
select ARCH_BOOTBLOCK_RISCV |
| 8 |
select ARCH_VERSTAGE_RISCV |
| 9 |
select ARCH_ROMSTAGE_RISCV |
| 10 |
select ARCH_RAMSTAGE_RISCV |
| 11 |
select RISCV_USE_ARCH_TIMER |
| 12 |
select FLATTENED_DEVICE_TREE |
| 13 |
bool |
| 14 |
default n |
| 15 |
|
| 16 |
if SOC_UCB_RISCV |
| 17 |
|
| 18 |
if ARCH_RISCV_RV64 |
| 19 |
|
| 20 |
config RISCV_ARCH |
| 21 |
string |
| 22 |
default "rv64imafd" |
| 23 |
|
| 24 |
config RISCV_ABI |
| 25 |
string |
| 26 |
default "lp64d" |
| 27 |
|
| 28 |
config RISCV_CODEMODEL |
| 29 |
string |
| 30 |
default "medany" |
| 31 |
|
| 32 |
endif |
| 33 |
|
| 34 |
if ARCH_RISCV_RV32 |
| 35 |
|
| 36 |
config RISCV_ARCH |
| 37 |
string |
| 38 |
default "rv32im" |
| 39 |
|
| 40 |
config RISCV_ABI |
| 41 |
string |
| 42 |
default "ilp32" |
| 43 |
|
| 44 |
config RISCV_CODEMODEL |
| 45 |
string |
| 46 |
default "medany" |
| 47 |
|
| 48 |
endif |
| 49 |
|
| 50 |
config RISCV_WORKING_HARTID |
| 51 |
int |
| 52 |
default 0 |
| 53 |
|
| 54 |
endif |