mx6: tqma6: get board support back to Kconfig build system
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Sun, 31 Aug 2014 15:47:55 +0000 (00:47 +0900)
committerTom Rini <trini@ti.com>
Sun, 31 Aug 2014 16:01:04 +0000 (12:01 -0400)
The QS Systems TQMa6 board support was added by commit cb07d74e
and lost by commit e82abaeb.

Commit e82abaeb merged the IMX branch based on pre-Kconfig
and the mainline based on post-Kconfig, simply deleting
the boards.cfg file.  As a result, some boards added just before
the merge were lost.

This commit adds Kconfig, defconfig, MAINTAINERS for TQMa6 board
to work on the Kconfig infrastructure.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Markus Niebel <Markus.Niebel@tq-group.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/Kconfig
board/tqc/tqma6/Kconfig [new file with mode: 0644]
board/tqc/tqma6/MAINTAINERS [new file with mode: 0644]
configs/tqma6q_mba6_mmc_defconfig [new file with mode: 0644]
configs/tqma6q_mba6_spi_defconfig [new file with mode: 0644]
configs/tqma6s_mba6_mmc_defconfig [new file with mode: 0644]
configs/tqma6s_mba6_spi_defconfig [new file with mode: 0644]

index 3094ed67089f46c8ec07bf8990103d56846ece5b..22f0f09af6e96cd7df49c10812d1363c4da7faee 100644 (file)
@@ -409,6 +409,9 @@ config TARGET_GW_VENTANA
 config TARGET_HUMMINGBOARD
        bool "Support hummingboard"
 
+config TARGET_TQMA6
+       bool "TQ Systems TQMa6 board"
+
 config OMAP34XX
        bool "OMAP34XX SoC"
 
@@ -663,6 +666,7 @@ source "board/ti/ti816x/Kconfig"
 source "board/ti/tnetv107xevm/Kconfig"
 source "board/timll/devkit3250/Kconfig"
 source "board/toradex/colibri_pxa270/Kconfig"
+source "board/tqc/tqma6/Kconfig"
 source "board/trizepsiv/Kconfig"
 source "board/ttcontrol/vision2/Kconfig"
 source "board/udoo/Kconfig"
diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig
new file mode 100644 (file)
index 0000000..44b4142
--- /dev/null
@@ -0,0 +1,23 @@
+if TARGET_TQMA6
+
+config SYS_CPU
+       string
+       default "armv7"
+
+config SYS_BOARD
+       string
+       default "tqma6"
+
+config SYS_VENDOR
+       string
+       default "tqc"
+
+config SYS_SOC
+       string
+       default "mx6"
+
+config SYS_CONFIG_NAME
+       string
+       default "tqma6"
+
+endif
diff --git a/board/tqc/tqma6/MAINTAINERS b/board/tqc/tqma6/MAINTAINERS
new file mode 100644 (file)
index 0000000..91cd244
--- /dev/null
@@ -0,0 +1,6 @@
+TQ SYSTEMS TQMA6 BOARD
+M:     Markus Niebel <Markus.Niebel@tq-group.com>
+S:     Maintained
+F:     board/tqc/tqma6/
+F:     include/configs/tqma6.h
+F:     configs/tqma6*_defconfig
diff --git a/configs/tqma6q_mba6_mmc_defconfig b/configs/tqma6q_mba6_mmc_defconfig
new file mode 100644 (file)
index 0000000..4ee9238
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MX6Q,MBA6,TQMA6X_MMC_BOOT"
+CONFIG_ARM=y
+CONFIG_TARGET_TQMA6=y
diff --git a/configs/tqma6q_mba6_spi_defconfig b/configs/tqma6q_mba6_spi_defconfig
new file mode 100644 (file)
index 0000000..86d4ca3
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MX6Q,MBA6,TQMA6X_SPI_BOOT"
+CONFIG_ARM=y
+CONFIG_TARGET_TQMA6=y
diff --git a/configs/tqma6s_mba6_mmc_defconfig b/configs/tqma6s_mba6_mmc_defconfig
new file mode 100644 (file)
index 0000000..5efce6a
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MX6S,MBA6,TQMA6X_MMC_BOOT"
+CONFIG_ARM=y
+CONFIG_TARGET_TQMA6=y
diff --git a/configs/tqma6s_mba6_spi_defconfig b/configs/tqma6s_mba6_spi_defconfig
new file mode 100644 (file)
index 0000000..e8b3afd
--- /dev/null
@@ -0,0 +1,3 @@
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MX6S,MBA6,TQMA6X_SPI_BOOT"
+CONFIG_ARM=y
+CONFIG_TARGET_TQMA6=y