u-boot/board/tqc/tqma6/Kconfig
Markus Niebel fc6e442568 arm: imx6: tqma6: implement KConfig baseboard selection
this finally removes the need for extra settings in
defconfig

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
2015-06-27 18:01:41 +02:00

73 lines
1.2 KiB
Text

if TARGET_TQMA6
config SYS_BOARD
default "tqma6"
config SYS_VENDOR
default "tqc"
config SYS_SOC
default "mx6"
config SYS_CONFIG_NAME
default "tqma6"
choice
prompt "TQMa6 SoC variant"
default TQMA6Q
help
select the TQMa6 module variant. The variants differing in the used
i.MX6 CPU type and DRAM
config TQMA6Q
bool "TQMa6Q / TQMa6D"
select MX6Q
help
select TQMa6Q / TQMa6D with i.MX6Q/D and 1GiB DRAM
config TQMA6S
bool "TQMa6S"
select MX6S
help
select TQMa6S with i.MX6S and 512 MiB DRAM
endchoice
choice
prompt "TQMa6 boot configuration"
default TQMA6X_MMC_BOOT
help
Configure boot device. This is also used to implement environment
location.
config TQMA6X_MMC_BOOT
bool "MMC / SD Boot"
help
Boot from eMMC / SD Card
config TQMA6X_SPI_BOOT
bool "SPI NOR Boot"
help
Boot from on board SPI NOR flash
endchoice
choice
prompt "TQMa6 base board variant"
default MBA6
help
Select base board for TQMa6
config MBA6
bool "TQMa6 on MBa6 Starterkit"
help
Select the MBa6 starterkit. This features a GigE Phy, USB, SD-Card
etc.
endchoice
config IMX_CONFIG
default "board/tqc/tqma6/tqma6q.cfg" if TQMA6Q
default "board/tqc/tqma6/tqma6s.cfg" if TQMA6S
endif