[U-Boot] [PATCH] 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.
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 | 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
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 94bd3ba..0ca3a62 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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" diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig new file mode 100644 index 0000000..44b4142 --- /dev/null +++ b/board/tqc/tqma6/Kconfig @@ -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 index 0000000..91cd244 --- /dev/null +++ b/board/tqc/tqma6/MAINTAINERS @@ -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 index 0000000..4ee9238 --- /dev/null +++ b/configs/tqma6q_mba6_mmc_defconfig @@ -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 index 0000000..86d4ca3 --- /dev/null +++ b/configs/tqma6q_mba6_spi_defconfig @@ -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 index 0000000..5efce6a --- /dev/null +++ b/configs/tqma6s_mba6_mmc_defconfig @@ -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 index 0000000..e8b3afd --- /dev/null +++ b/configs/tqma6s_mba6_spi_defconfig @@ -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

On Mon, Sep 01, 2014 at 12:47:55AM +0900, Masahiro Yamada wrote:
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
Applied to u-boot/master, thanks!
participants (2)
-
Masahiro Yamada
-
Tom Rini