]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: imx6: tqma6: implement KConfig baseboard selection
authorMarkus Niebel <Markus.Niebel@tq-group.com>
Thu, 4 Jun 2015 15:25:34 +0000 (17:25 +0200)
committerStefano Babic <sbabic@denx.de>
Sat, 27 Jun 2015 16:01:41 +0000 (18:01 +0200)
this finally removes the need for extra settings in
defconfig

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
board/tqc/tqma6/Kconfig
configs/tqma6q_mba6_mmc_defconfig
configs/tqma6q_mba6_spi_defconfig
configs/tqma6s_mba6_mmc_defconfig
configs/tqma6s_mba6_spi_defconfig

index 132e82f68dcb31dd85b8d4fa4d681d81b780a9c5..b56237d1875a77e4cd3fce668b0375a0fe790d34 100644 (file)
@@ -52,6 +52,20 @@ config TQMA6X_SPI_BOOT
 
 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
index 41a7ebf51df18aecb3523017f69e54c693eec5b2..3fe50dab736c5aa14013d9f720b9008f58d5f08f 100644 (file)
@@ -1,6 +1,5 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
 CONFIG_CMD_SETEXPR=y
 CONFIG_CMD_NET=y
index f8a44bff3015885a57b12d10c7434a3b453aff1d..74981bb0b8fd0ed3504cb29272c4edf09d82c9cb 100644 (file)
@@ -2,6 +2,5 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_TQMA6=y
 CONFIG_TQMA6X_SPI_BOOT=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
 CONFIG_CMD_SETEXPR=y
 CONFIG_CMD_NET=y
index b5413f643e57c0e00b6d5a96e9ddb0ec8a68d60b..5cc2234a0635073d0c6a70fb8c3ed097b79acb37 100644 (file)
@@ -2,6 +2,5 @@ CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_TQMA6=y
 CONFIG_TQMA6S=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
 CONFIG_CMD_SETEXPR=y
 CONFIG_CMD_NET=y
index edbe4b3d9dfda8a5749a8cfa23306fc7e880beb4..a97671c486452f1fe26c39ad1f607800055eb5bd 100644 (file)
@@ -3,6 +3,5 @@ CONFIG_ARCH_MX6=y
 CONFIG_TARGET_TQMA6=y
 CONFIG_TQMA6S=y
 CONFIG_TQMA6X_SPI_BOOT=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
 CONFIG_CMD_SETEXPR=y
 CONFIG_CMD_NET=y