u-boot/board/tqc/tqma6/Kconfig
Markus Niebel 30ed1257db arm: imx6: tqma6: implement IMX_CONFIG with Kconfig
Now that we have the Kconfig based CPU type selection,
use this to fill the IMX_CONFIG automatically

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

40 lines
653 B
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
config IMX_CONFIG
default "board/tqc/tqma6/tqma6q.cfg" if TQMA6Q
default "board/tqc/tqma6/tqma6s.cfg" if TQMA6S
endif