2018-09-26 13:55:06 +00:00
|
|
|
menu "RISC-V architecture"
|
2017-12-26 05:55:52 +00:00
|
|
|
depends on RISCV
|
|
|
|
|
|
|
|
config SYS_ARCH
|
|
|
|
default "riscv"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Target select"
|
|
|
|
optional
|
|
|
|
|
2018-05-29 01:54:40 +00:00
|
|
|
config TARGET_AX25_AE350
|
|
|
|
bool "Support ax25-ae350"
|
2017-12-26 05:55:52 +00:00
|
|
|
|
2018-09-26 13:55:21 +00:00
|
|
|
config TARGET_QEMU_VIRT
|
|
|
|
bool "Support QEMU Virt Board"
|
|
|
|
|
2017-12-26 05:55:52 +00:00
|
|
|
endchoice
|
|
|
|
|
2018-05-29 01:54:40 +00:00
|
|
|
source "board/AndesTech/ax25-ae350/Kconfig"
|
2018-09-26 13:55:21 +00:00
|
|
|
source "board/emulation/qemu-riscv/Kconfig"
|
2017-12-26 05:55:52 +00:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "CPU selection"
|
|
|
|
default CPU_RISCV_32
|
|
|
|
|
|
|
|
config CPU_RISCV_32
|
2018-09-26 13:55:06 +00:00
|
|
|
bool "RISC-V 32-bit"
|
2017-12-26 05:55:52 +00:00
|
|
|
select 32BIT
|
|
|
|
help
|
|
|
|
Choose this option to build an U-Boot for RISCV32 architecture.
|
|
|
|
|
|
|
|
config CPU_RISCV_64
|
2018-09-26 13:55:06 +00:00
|
|
|
bool "RISC-V 64-bit"
|
2017-12-26 05:55:52 +00:00
|
|
|
select 64BIT
|
|
|
|
help
|
|
|
|
Choose this option to build an U-Boot for RISCV64 architecture.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config 32BIT
|
|
|
|
bool
|
|
|
|
|
|
|
|
config 64BIT
|
|
|
|
bool
|
|
|
|
|
|
|
|
endmenu
|