riscv: board: Add Andes Voyager board Kconfig support
The Voyager is Andes' first RISC-V development board. It is built around Qilai SoC, which includes Andes AX45MP quad-core cluster. Introduce the Kconfig entry for the Voyager board. Signed-off-by: Randolph Sheng-Kai Lin <randolph@andestech.com> Signed-off-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
@@ -11,6 +11,9 @@ choice
|
||||
config TARGET_ANDES_AE350
|
||||
bool "Support Andes ae350"
|
||||
|
||||
config TARGET_ANDES_VOYAGER
|
||||
bool "Support Andes Voyager Board"
|
||||
|
||||
config TARGET_BANANAPI_F3
|
||||
bool "Support BananaPi F3 Board"
|
||||
|
||||
@@ -101,6 +104,7 @@ config SPL_ZERO_MEM_BEFORE_USE
|
||||
|
||||
# board-specific options below
|
||||
source "board/andestech/ae350/Kconfig"
|
||||
source "board/andestech/voyager/Kconfig"
|
||||
source "board/aspeed/ibex_ast2700/Kconfig"
|
||||
source "board/canaan/k230_canmv/Kconfig"
|
||||
source "board/emulation/qemu-riscv/Kconfig"
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
if TARGET_ANDES_VOYAGER
|
||||
|
||||
config SYS_CPU
|
||||
default "andes"
|
||||
|
||||
config SYS_BOARD
|
||||
default "voyager"
|
||||
|
||||
config SYS_VENDOR
|
||||
default "andestech"
|
||||
|
||||
config SYS_SOC
|
||||
default "qilai"
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "voyager"
|
||||
|
||||
config ENV_SIZE
|
||||
default 0x2000 if ENV_IS_IN_SPI_FLASH
|
||||
|
||||
config ENV_OFFSET
|
||||
default 0x1F0000 if ENV_IS_IN_SPI_FLASH
|
||||
|
||||
config SPL_TEXT_BASE
|
||||
default 0x400800000
|
||||
|
||||
config SPL_OPENSBI_LOAD_ADDR
|
||||
default 0x400000000
|
||||
|
||||
config SYS_FDT_BASE
|
||||
hex
|
||||
default 0x81E0000 if OF_SEPARATE
|
||||
|
||||
config BOARD_SPECIFIC_OPTIONS # dummy
|
||||
def_bool y
|
||||
select RISCV_ANDES
|
||||
select SUPPORT_SPL
|
||||
select BINMAN if SPL
|
||||
imply SMP
|
||||
imply SPL_RAM_SUPPORT
|
||||
imply SPL_RAM_DEVICE
|
||||
imply OF_HAS_PRIOR_STAGE
|
||||
|
||||
endif
|
||||
Reference in New Issue
Block a user