riscv: board: Add Andes Voyager board Kconfig support
authorLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 7 Aug 2025 11:38:07 +0000 (19:38 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 14 Aug 2025 07:33:00 +0000 (15:33 +0800)
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>
arch/riscv/Kconfig
board/andestech/voyager/Kconfig [new file with mode: 0644]

index 8c6feae..04eb0e6 100644 (file)
@@ -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"
diff --git a/board/andestech/voyager/Kconfig b/board/andestech/voyager/Kconfig
new file mode 100644 (file)
index 0000000..b2e212c
--- /dev/null
@@ -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