u-boot/board/cadence/xtfpga/Kconfig
Tom Rini 3dd1486800 Kconfig: Centralize prompting for SYS_CONFIG_NAME
Generally speaking, we do not prompt for this value and define it in the
board specific Kconfig file. There are some valid use cases however
today where we do prompt for this value, so instead of having this be
done in a number of locations, do this at the top-level location only.

This removes the question from a number of other locations and makes it
consistent that when we do set the value directly, we always do it the
same way. We don't need to specify the type, it's always string.

Signed-off-by: Tom Rini <trini@konsulko.com>
2024-02-27 14:18:54 -05:00

38 lines
660 B
Text

if TARGET_XTFPGA
choice
prompt "XTFPGA board type select"
config XTFPGA_LX60
bool "Support Avnet LX60"
config XTFPGA_LX110
bool "Support Avnet LX110"
config XTFPGA_LX200
bool "Support Avnet LX200"
config XTFPGA_ML605
bool "Support Xilinx ML605"
config XTFPGA_KC705
bool "Support Xilinx KC705"
endchoice
config SYS_BOARD
string
default "xtfpga"
config SYS_VENDOR
string
default "cadence"
config SYS_CONFIG_NAME
default "xtfpga"
config BOARD_SDRAM_SIZE
hex
default 0x04000000 if XTFPGA_LX60
default 0x03000000 if XTFPGA_LX110
default 0x06000000 if XTFPGA_LX200
default 0x18000000 if XTFPGA_ML605
default 0x38000000 if XTFPGA_KC705
endif