Skip to contentSkip to conversation

mx6: tqma6: get board support back to Kconfig build system

PATCH New Masahiro Yamada 2 participants 2 messages Aug 31, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx6: tqma6: get board support back to Kconfig build system

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.

Cc Markus Niebel <[email protected]>
Cc Stefano Babic <[email protected]>

---

 arch/arm/Kconfig                  |  4 ++++
 board/tqc/tqma6/Kconfig           | 23 +++++++++++++++++++++++
 board/tqc/tqma6/MAINTAINERS       |  6 ++++++
 configs/tqma6q_mba6_mmc_defconfig |  3 +++
 configs/tqma6q_mba6_spi_defconfig |  3 +++
 configs/tqma6s_mba6_mmc_defconfig |  3 +++
 configs/tqma6s_mba6_spi_defconfig |  3 +++
 7 files changed, 45 insertions(+)
 create mode 100644 board/tqc/tqma6/Kconfig
 create mode 100644 board/tqc/tqma6/MAINTAINERS
 create mode 100644 configs/tqma6q_mba6_mmc_defconfig
 create mode 100644 configs/tqma6q_mba6_spi_defconfig
 create mode 100644 configs/tqma6s_mba6_mmc_defconfig
 create mode 100644 configs/tqma6s_mba6_spi_defconfig
arch/arm/Kconfig +4 -0
index 94bd3ba..0ca3a62 100644
@@ -403,6 +403,9 @@ config TARGET_GW_VENTANA
 config TARGET_HUMMINGBOARD
 	bool "Support hummingboard"
 
+config TARGET_TQMA6
+	bool "TQ Systems TQMa6 board"
+
 config OMAP34XX
 	bool "OMAP34XX SoC"
 
@@ -655,6 +658,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"
board/tqc/tqma6/Kconfig new file +23 -0
new file mode 100644
index 0000000..44b4142
@@ -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
board/tqc/tqma6/MAINTAINERS new file +6 -0
new file mode 100644
index 0000000..91cd244
@@ -0,0 +1,6 @@
+TQ SYSTEMS TQMA6 BOARD
+M:	Markus Niebel <[email protected]>
+S:	Maintained
+F:	board/tqc/tqma6/
+F:	include/configs/tqma6.h
+F:	configs/tqma6*_defconfig
configs/tqma6q_mba6_mmc_defconfig new file +3 -0
new file mode 100644
index 0000000..4ee9238
@@ -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
configs/tqma6q_mba6_spi_defconfig new file +3 -0
new file mode 100644
index 0000000..86d4ca3
@@ -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
configs/tqma6s_mba6_mmc_defconfig new file +3 -0
new file mode 100644
index 0000000..5efce6a
@@ -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
configs/tqma6s_mba6_spi_defconfig new file +3 -0
new file mode 100644
index 0000000..e8b3afd
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 mx6: tqma6: get board support back to Kconfig build system

Quoted 8 lines · Masahiro Yamada

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.

Quoted 6 lines

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

Cc Markus Niebel <[email protected]>
Cc Stefano Babic <[email protected]>

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140831/1951a288/attachment.pgp>