Commit fc6e4425 authored by Markus Niebel's avatar Markus Niebel Committed by Stefano Babic
Browse files

arm: imx6: tqma6: implement KConfig baseboard selection



this finally removes the need for extra settings in
defconfig
Signed-off-by: default avatarMarkus Niebel <Markus.Niebel@tq-group.com>
parent 55c0e49a
...@@ -52,6 +52,20 @@ config TQMA6X_SPI_BOOT ...@@ -52,6 +52,20 @@ config TQMA6X_SPI_BOOT
endchoice 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 config IMX_CONFIG
default "board/tqc/tqma6/tqma6q.cfg" if TQMA6Q default "board/tqc/tqma6/tqma6q.cfg" if TQMA6Q
default "board/tqc/tqma6/tqma6s.cfg" if TQMA6S default "board/tqc/tqma6/tqma6s.cfg" if TQMA6S
......
CONFIG_ARM=y CONFIG_ARM=y
CONFIG_ARCH_MX6=y CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y CONFIG_TARGET_TQMA6=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y CONFIG_CMD_NET=y
...@@ -2,6 +2,5 @@ CONFIG_ARM=y ...@@ -2,6 +2,5 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6X_SPI_BOOT=y CONFIG_TQMA6X_SPI_BOOT=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y CONFIG_CMD_NET=y
...@@ -2,6 +2,5 @@ CONFIG_ARM=y ...@@ -2,6 +2,5 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y CONFIG_TQMA6S=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y CONFIG_CMD_NET=y
...@@ -3,6 +3,5 @@ CONFIG_ARCH_MX6=y ...@@ -3,6 +3,5 @@ CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y CONFIG_TQMA6S=y
CONFIG_TQMA6X_SPI_BOOT=y CONFIG_TQMA6X_SPI_BOOT=y
CONFIG_SYS_EXTRA_OPTIONS="MBA6"
CONFIG_CMD_SETEXPR=y CONFIG_CMD_SETEXPR=y
CONFIG_CMD_NET=y CONFIG_CMD_NET=y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment