* [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework
@ 2015-06-04 15:25 Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 1/5] arm: imx6: tqma6: add kconfig to board header Markus Niebel
` (6 more replies)
0 siblings, 7 replies; 10+ messages in thread
From: Markus Niebel @ 2015-06-04 15:25 UTC (permalink / raw)
To: u-boot
From: Markus Niebel <Markus.Niebel@tq-group.com>
This series extends the Kconfig options for TQMa6 to
enable removal of CONFIG_SYS_EXTRA_OPTIONS for this boards.
To enable env device / boot device configuration the first patch
includes the Kconfig generated header in the board configuration
header.
To enable CPU selection the second patch moves the board selection
to the i.MX6 CPU menu as implemented by the Seco mx6 boards
Changed for v2:
- rebase to current u-boot-imx
- add new patch to fix envcrc build for non default boot / env
devices
- regenerate defconfigs to exclude defaults
Markus Niebel (5):
arm: imx6: tqma6: add kconfig to board header
arm: mx6: tqma6: CPU type selection via Kconfig
arm: imx6: tqma6: implement IMX_CONFIG with Kconfig
arm: imx6: tqma6: boot device selection via Kconfig
arm: imx6: tqma6: implement KConfig baseboard selection
arch/arm/Kconfig | 5 ----
arch/arm/cpu/armv7/mx6/Kconfig | 5 ++++
board/tqc/tqma6/Kconfig | 58 +++++++++++++++++++++++++++++++++++++++
configs/tqma6q_mba6_mmc_defconfig | 2 +-
configs/tqma6q_mba6_spi_defconfig | 3 +-
configs/tqma6s_mba6_mmc_defconfig | 3 +-
configs/tqma6s_mba6_spi_defconfig | 4 ++-
include/configs/tqma6.h | 1 +
8 files changed, 72 insertions(+), 9 deletions(-)
--
2.3.0
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 1/5] arm: imx6: tqma6: add kconfig to board header
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
@ 2015-06-04 15:25 ` Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 2/5] arm: mx6: tqma6: CPU type selection via Kconfig Markus Niebel
` (5 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Markus Niebel @ 2015-06-04 15:25 UTC (permalink / raw)
To: u-boot
From: Markus Niebel <Markus.Niebel@tq-group.com>
this is needed later to have Kconfig generated
stuff as define.
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
include/configs/tqma6.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index 4c93c9b..f9de0c6 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -9,6 +9,7 @@
#ifndef __CONFIG_H
#define __CONFIG_H
+#include <linux/kconfig.h>
/* SPL */
/* #if defined(CONFIG_SPL_BUILD) */
--
2.3.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 2/5] arm: mx6: tqma6: CPU type selection via Kconfig
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 1/5] arm: imx6: tqma6: add kconfig to board header Markus Niebel
@ 2015-06-04 15:25 ` Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 3/5] arm: imx6: tqma6: implement IMX_CONFIG with Kconfig Markus Niebel
` (4 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Markus Niebel @ 2015-06-04 15:25 UTC (permalink / raw)
To: u-boot
From: Markus Niebel <Markus.Niebel@tq-group.com>
This is the first patch to remove the
CONFIG_SYS_EXTRA_OPTIONS.
This patch implements CPU type selection from Kconfig.
Further Kconfig stuff is added later.
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
Changes in v2:
- regenerate defconfigs
arch/arm/Kconfig | 5 -----
arch/arm/cpu/armv7/mx6/Kconfig | 5 +++++
board/tqc/tqma6/Kconfig | 21 +++++++++++++++++++++
configs/tqma6q_mba6_mmc_defconfig | 3 ++-
configs/tqma6q_mba6_spi_defconfig | 3 ++-
configs/tqma6s_mba6_mmc_defconfig | 4 +++-
configs/tqma6s_mba6_spi_defconfig | 4 +++-
7 files changed, 36 insertions(+), 9 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index b62842f..2ea6643 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -576,10 +576,6 @@ config TARGET_TBS2910
bool "Support tbs2910"
select CPU_V7
-config TARGET_TQMA6
- bool "TQ Systems TQMa6 board"
- select CPU_V7
-
config TARGET_OT1200
bool "Bachmann OT1200"
select CPU_V7
@@ -954,7 +950,6 @@ source "board/ti/ti816x/Kconfig"
source "board/timll/devkit3250/Kconfig"
source "board/toradex/colibri_pxa270/Kconfig"
source "board/toradex/colibri_vf/Kconfig"
-source "board/tqc/tqma6/Kconfig"
source "board/trizepsiv/Kconfig"
source "board/ttcontrol/vision2/Kconfig"
source "board/udoo/Kconfig"
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index 1282be3..10908c4 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -33,11 +33,16 @@ config TARGET_SECOMX6
bool "Support secomx6 boards"
select CPU_V7
+config TARGET_TQMA6
+ bool "TQ Systems TQMa6 board"
+ select CPU_V7
+
endchoice
config SYS_SOC
default "mx6"
source "board/seco/Kconfig"
+source "board/tqc/tqma6/Kconfig"
endif
diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig
index f8b3d1f..3e4d9f5 100644
--- a/board/tqc/tqma6/Kconfig
+++ b/board/tqc/tqma6/Kconfig
@@ -12,4 +12,25 @@ config SYS_SOC
config SYS_CONFIG_NAME
default "tqma6"
+choice
+ prompt "TQMa6 SoC variant"
+ default TQMA6Q
+ help
+ select the TQMa6 module variant. The variants differing in the used
+ i.MX6 CPU type and DRAM
+
+config TQMA6Q
+ bool "TQMa6Q / TQMa6D"
+ select MX6Q
+ help
+ select TQMa6Q / TQMa6D with i.MX6Q/D and 1GiB DRAM
+
+config TQMA6S
+ bool "TQMa6S"
+ select MX6S
+ help
+ select TQMa6S with i.MX6S and 512 MiB DRAM
+
+endchoice
+
endif
diff --git a/configs/tqma6q_mba6_mmc_defconfig b/configs/tqma6q_mba6_mmc_defconfig
index 627883a..e6dcc99 100644
--- a/configs/tqma6q_mba6_mmc_defconfig
+++ b/configs/tqma6q_mba6_mmc_defconfig
@@ -1,3 +1,4 @@
CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MX6Q,MBA6,TQMA6X_MMC_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MBA6,TQMA6X_MMC_BOOT"
diff --git a/configs/tqma6q_mba6_spi_defconfig b/configs/tqma6q_mba6_spi_defconfig
index a56a802..ab811a9 100644
--- a/configs/tqma6q_mba6_spi_defconfig
+++ b/configs/tqma6q_mba6_spi_defconfig
@@ -1,3 +1,4 @@
CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MX6Q,MBA6,TQMA6X_SPI_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MBA6,TQMA6X_SPI_BOOT"
diff --git a/configs/tqma6s_mba6_mmc_defconfig b/configs/tqma6s_mba6_mmc_defconfig
index 51958e2..b7feb18 100644
--- a/configs/tqma6s_mba6_mmc_defconfig
+++ b/configs/tqma6s_mba6_mmc_defconfig
@@ -1,3 +1,5 @@
CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MX6S,MBA6,TQMA6X_MMC_BOOT"
+CONFIG_TQMA6S=y
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MBA6,TQMA6X_MMC_BOOT"
diff --git a/configs/tqma6s_mba6_spi_defconfig b/configs/tqma6s_mba6_spi_defconfig
index f94f704..24d07cd 100644
--- a/configs/tqma6s_mba6_spi_defconfig
+++ b/configs/tqma6s_mba6_spi_defconfig
@@ -1,3 +1,5 @@
CONFIG_ARM=y
+CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MX6S,MBA6,TQMA6X_SPI_BOOT"
+CONFIG_TQMA6S=y
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MBA6,TQMA6X_SPI_BOOT"
--
2.3.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 3/5] arm: imx6: tqma6: implement IMX_CONFIG with Kconfig
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 1/5] arm: imx6: tqma6: add kconfig to board header Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 2/5] arm: mx6: tqma6: CPU type selection via Kconfig Markus Niebel
@ 2015-06-04 15:25 ` Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 4/5] arm: imx6: tqma6: boot device selection via Kconfig Markus Niebel
` (3 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Markus Niebel @ 2015-06-04 15:25 UTC (permalink / raw)
To: u-boot
From: Markus Niebel <Markus.Niebel@tq-group.com>
Now that we have the Kconfig based CPU type selection,
use this to fill the IMX_CONFIG automatically
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
Changes for v2:
- regenerate defconfigs
board/tqc/tqma6/Kconfig | 4 ++++
configs/tqma6q_mba6_mmc_defconfig | 2 +-
configs/tqma6q_mba6_spi_defconfig | 2 +-
configs/tqma6s_mba6_mmc_defconfig | 2 +-
configs/tqma6s_mba6_spi_defconfig | 2 +-
5 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig
index 3e4d9f5..ce47ba4 100644
--- a/board/tqc/tqma6/Kconfig
+++ b/board/tqc/tqma6/Kconfig
@@ -33,4 +33,8 @@ config TQMA6S
endchoice
+config IMX_CONFIG
+ default "board/tqc/tqma6/tqma6q.cfg" if TQMA6Q
+ default "board/tqc/tqma6/tqma6s.cfg" if TQMA6S
+
endif
diff --git a/configs/tqma6q_mba6_mmc_defconfig b/configs/tqma6q_mba6_mmc_defconfig
index e6dcc99..ffdceb3 100644
--- a/configs/tqma6q_mba6_mmc_defconfig
+++ b/configs/tqma6q_mba6_mmc_defconfig
@@ -1,4 +1,4 @@
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MBA6,TQMA6X_MMC_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_MMC_BOOT"
diff --git a/configs/tqma6q_mba6_spi_defconfig b/configs/tqma6q_mba6_spi_defconfig
index ab811a9..dc88151 100644
--- a/configs/tqma6q_mba6_spi_defconfig
+++ b/configs/tqma6q_mba6_spi_defconfig
@@ -1,4 +1,4 @@
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6q.cfg,MBA6,TQMA6X_SPI_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_SPI_BOOT"
diff --git a/configs/tqma6s_mba6_mmc_defconfig b/configs/tqma6s_mba6_mmc_defconfig
index b7feb18..6c0763d 100644
--- a/configs/tqma6s_mba6_mmc_defconfig
+++ b/configs/tqma6s_mba6_mmc_defconfig
@@ -2,4 +2,4 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MBA6,TQMA6X_MMC_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_MMC_BOOT"
diff --git a/configs/tqma6s_mba6_spi_defconfig b/configs/tqma6s_mba6_spi_defconfig
index 24d07cd..4873ffb 100644
--- a/configs/tqma6s_mba6_spi_defconfig
+++ b/configs/tqma6s_mba6_spi_defconfig
@@ -2,4 +2,4 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/tqc/tqma6/tqma6s.cfg,MBA6,TQMA6X_SPI_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_SPI_BOOT"
--
2.3.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 4/5] arm: imx6: tqma6: boot device selection via Kconfig
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
` (2 preceding siblings ...)
2015-06-04 15:25 ` [U-Boot] [PATCH v2 3/5] arm: imx6: tqma6: implement IMX_CONFIG with Kconfig Markus Niebel
@ 2015-06-04 15:25 ` Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 5/5] arm: imx6: tqma6: implement KConfig baseboard selection Markus Niebel
` (2 subsequent siblings)
6 siblings, 0 replies; 10+ messages in thread
From: Markus Niebel @ 2015-06-04 15:25 UTC (permalink / raw)
To: u-boot
From: Markus Niebel <Markus.Niebel@tq-group.com>
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
Changes for v2:
- regenerate defconfigs
board/tqc/tqma6/Kconfig | 19 +++++++++++++++++++
configs/tqma6q_mba6_mmc_defconfig | 2 +-
configs/tqma6q_mba6_spi_defconfig | 3 ++-
configs/tqma6s_mba6_mmc_defconfig | 2 +-
configs/tqma6s_mba6_spi_defconfig | 3 ++-
5 files changed, 25 insertions(+), 4 deletions(-)
diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig
index ce47ba4..132e82f 100644
--- a/board/tqc/tqma6/Kconfig
+++ b/board/tqc/tqma6/Kconfig
@@ -33,6 +33,25 @@ config TQMA6S
endchoice
+choice
+ prompt "TQMa6 boot configuration"
+ default TQMA6X_MMC_BOOT
+ help
+ Configure boot device. This is also used to implement environment
+ location.
+
+config TQMA6X_MMC_BOOT
+ bool "MMC / SD Boot"
+ help
+ Boot from eMMC / SD Card
+
+config TQMA6X_SPI_BOOT
+ bool "SPI NOR Boot"
+ help
+ Boot from on board SPI NOR flash
+
+endchoice
+
config IMX_CONFIG
default "board/tqc/tqma6/tqma6q.cfg" if TQMA6Q
default "board/tqc/tqma6/tqma6s.cfg" if TQMA6S
diff --git a/configs/tqma6q_mba6_mmc_defconfig b/configs/tqma6q_mba6_mmc_defconfig
index ffdceb3..82a19b9 100644
--- a/configs/tqma6q_mba6_mmc_defconfig
+++ b/configs/tqma6q_mba6_mmc_defconfig
@@ -1,4 +1,4 @@
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_MMC_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="MBA6"
diff --git a/configs/tqma6q_mba6_spi_defconfig b/configs/tqma6q_mba6_spi_defconfig
index dc88151..102291d 100644
--- a/configs/tqma6q_mba6_spi_defconfig
+++ b/configs/tqma6q_mba6_spi_defconfig
@@ -1,4 +1,5 @@
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_SPI_BOOT"
+CONFIG_TQMA6X_SPI_BOOT=y
+CONFIG_SYS_EXTRA_OPTIONS="MBA6"
diff --git a/configs/tqma6s_mba6_mmc_defconfig b/configs/tqma6s_mba6_mmc_defconfig
index 6c0763d..09a820e 100644
--- a/configs/tqma6s_mba6_mmc_defconfig
+++ b/configs/tqma6s_mba6_mmc_defconfig
@@ -2,4 +2,4 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_MMC_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="MBA6"
diff --git a/configs/tqma6s_mba6_spi_defconfig b/configs/tqma6s_mba6_spi_defconfig
index 4873ffb..d874dc2 100644
--- a/configs/tqma6s_mba6_spi_defconfig
+++ b/configs/tqma6s_mba6_spi_defconfig
@@ -2,4 +2,5 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6,TQMA6X_SPI_BOOT"
+CONFIG_TQMA6X_SPI_BOOT=y
+CONFIG_SYS_EXTRA_OPTIONS="MBA6"
--
2.3.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 5/5] arm: imx6: tqma6: implement KConfig baseboard selection
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
` (3 preceding siblings ...)
2015-06-04 15:25 ` [U-Boot] [PATCH v2 4/5] arm: imx6: tqma6: boot device selection via Kconfig Markus Niebel
@ 2015-06-04 15:25 ` Markus Niebel
2015-06-15 13:34 ` [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
2017-02-19 16:18 ` Stefano Babic
6 siblings, 0 replies; 10+ messages in thread
From: Markus Niebel @ 2015-06-04 15:25 UTC (permalink / raw)
To: u-boot
From: Markus Niebel <Markus.Niebel@tq-group.com>
this finally removes the need for extra settings in
defconfig
Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
Changes for v2:
- add default for new choice
- regenerate defconfigs
board/tqc/tqma6/Kconfig | 14 ++++++++++++++
configs/tqma6q_mba6_mmc_defconfig | 1 -
configs/tqma6q_mba6_spi_defconfig | 1 -
configs/tqma6s_mba6_mmc_defconfig | 1 -
configs/tqma6s_mba6_spi_defconfig | 1 -
5 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/board/tqc/tqma6/Kconfig b/board/tqc/tqma6/Kconfig
index 132e82f..b56237d 100644
--- a/board/tqc/tqma6/Kconfig
+++ b/board/tqc/tqma6/Kconfig
@@ -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
diff --git a/configs/tqma6q_mba6_mmc_defconfig b/configs/tqma6q_mba6_mmc_defconfig
index 82a19b9..7e67132 100644
--- a/configs/tqma6q_mba6_mmc_defconfig
+++ b/configs/tqma6q_mba6_mmc_defconfig
@@ -1,4 +1,3 @@
CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
diff --git a/configs/tqma6q_mba6_spi_defconfig b/configs/tqma6q_mba6_spi_defconfig
index 102291d..1f91f6d 100644
--- a/configs/tqma6q_mba6_spi_defconfig
+++ b/configs/tqma6q_mba6_spi_defconfig
@@ -2,4 +2,3 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6X_SPI_BOOT=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
diff --git a/configs/tqma6s_mba6_mmc_defconfig b/configs/tqma6s_mba6_mmc_defconfig
index 09a820e..2eb891b 100644
--- a/configs/tqma6s_mba6_mmc_defconfig
+++ b/configs/tqma6s_mba6_mmc_defconfig
@@ -2,4 +2,3 @@ CONFIG_ARM=y
CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
diff --git a/configs/tqma6s_mba6_spi_defconfig b/configs/tqma6s_mba6_spi_defconfig
index d874dc2..92b9711 100644
--- a/configs/tqma6s_mba6_spi_defconfig
+++ b/configs/tqma6s_mba6_spi_defconfig
@@ -3,4 +3,3 @@ CONFIG_ARCH_MX6=y
CONFIG_TARGET_TQMA6=y
CONFIG_TQMA6S=y
CONFIG_TQMA6X_SPI_BOOT=y
-CONFIG_SYS_EXTRA_OPTIONS="MBA6"
--
2.3.0
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
` (4 preceding siblings ...)
2015-06-04 15:25 ` [U-Boot] [PATCH v2 5/5] arm: imx6: tqma6: implement KConfig baseboard selection Markus Niebel
@ 2015-06-15 13:34 ` Markus Niebel
2015-06-27 16:04 ` Stefano Babic
2017-02-19 16:18 ` Stefano Babic
6 siblings, 1 reply; 10+ messages in thread
From: Markus Niebel @ 2015-06-15 13:34 UTC (permalink / raw)
To: u-boot
Hello,
Am 04.06.2015 um 17:25 schrieb Markus Niebel:
> From: Markus Niebel <Markus.Niebel@tq-group.com>
>
> This series extends the Kconfig options for TQMa6 to
> enable removal of CONFIG_SYS_EXTRA_OPTIONS for this boards.
>
> To enable env device / boot device configuration the first patch
> includes the Kconfig generated header in the board configuration
> header.
>
> To enable CPU selection the second patch moves the board selection
> to the i.MX6 CPU menu as implemented by the Seco mx6 boards
>
> Changed for v2:
> - rebase to current u-boot-imx
> - add new patch to fix envcrc build for non default boot / env
> devices
> - regenerate defconfigs to exclude defaults
>
Did just notice, that I forgot Stefano in CC.
Shall I resend or spin v3 - maybe I should change the Kconfig
choices to be "optional" instead of having a "default".
Also would it be better t squash the last 4 patches?
> Markus Niebel (5):
> arm: imx6: tqma6: add kconfig to board header
> arm: mx6: tqma6: CPU type selection via Kconfig
> arm: imx6: tqma6: implement IMX_CONFIG with Kconfig
> arm: imx6: tqma6: boot device selection via Kconfig
> arm: imx6: tqma6: implement KConfig baseboard selection
>
> arch/arm/Kconfig | 5 ----
> arch/arm/cpu/armv7/mx6/Kconfig | 5 ++++
> board/tqc/tqma6/Kconfig | 58 +++++++++++++++++++++++++++++++++++++++
> configs/tqma6q_mba6_mmc_defconfig | 2 +-
> configs/tqma6q_mba6_spi_defconfig | 3 +-
> configs/tqma6s_mba6_mmc_defconfig | 3 +-
> configs/tqma6s_mba6_spi_defconfig | 4 ++-
> include/configs/tqma6.h | 1 +
> 8 files changed, 72 insertions(+), 9 deletions(-)
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework
2015-06-15 13:34 ` [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
@ 2015-06-27 16:04 ` Stefano Babic
0 siblings, 0 replies; 10+ messages in thread
From: Stefano Babic @ 2015-06-27 16:04 UTC (permalink / raw)
To: u-boot
Hi Markus,
On 15/06/2015 15:34, Markus Niebel wrote:
>
> Did just notice, that I forgot Stefano in CC.
> Shall I resend or spin v3 - maybe I should change the Kconfig
> choices to be "optional" instead of having a "default".
> Also would it be better t squash the last 4 patches?
It is ok so - you could change th "optional" in a follow up patch.
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
` (5 preceding siblings ...)
2015-06-15 13:34 ` [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
@ 2017-02-19 16:18 ` Stefano Babic
2017-02-19 16:23 ` Stefano Babic
6 siblings, 1 reply; 10+ messages in thread
From: Stefano Babic @ 2017-02-19 16:18 UTC (permalink / raw)
To: u-boot
On 04/06/2015 17:25, Markus Niebel wrote:
> From: Markus Niebel <Markus.Niebel@tq-group.com>
>
> This series extends the Kconfig options for TQMa6 to
> enable removal of CONFIG_SYS_EXTRA_OPTIONS for this boards.
>
> To enable env device / boot device configuration the first patch
> includes the Kconfig generated header in the board configuration
> header.
>
> To enable CPU selection the second patch moves the board selection
> to the i.MX6 CPU menu as implemented by the Seco mx6 boards
>
> Changed for v2:
> - rebase to current u-boot-imx
> - add new patch to fix envcrc build for non default boot / env
> devices
> - regenerate defconfigs to exclude defaults
>
> Markus Niebel (5):
> arm: imx6: tqma6: add kconfig to board header
> arm: mx6: tqma6: CPU type selection via Kconfig
> arm: imx6: tqma6: implement IMX_CONFIG with Kconfig
> arm: imx6: tqma6: boot device selection via Kconfig
> arm: imx6: tqma6: implement KConfig baseboard selection
>
> arch/arm/Kconfig | 5 ----
> arch/arm/cpu/armv7/mx6/Kconfig | 5 ++++
> board/tqc/tqma6/Kconfig | 58 +++++++++++++++++++++++++++++++++++++++
> configs/tqma6q_mba6_mmc_defconfig | 2 +-
> configs/tqma6q_mba6_spi_defconfig | 3 +-
> configs/tqma6s_mba6_mmc_defconfig | 3 +-
> configs/tqma6s_mba6_spi_defconfig | 4 ++-
> include/configs/tqma6.h | 1 +
> 8 files changed, 72 insertions(+), 9 deletions(-)
>
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
Meet DENX at the Embedded World Trade Show
14 Mar - 16 Mar 2017, Nuremberg Trade Fair Centre, Hall 4, Booth 581
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 10+ messages in thread
* [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework
2017-02-19 16:18 ` Stefano Babic
@ 2017-02-19 16:23 ` Stefano Babic
0 siblings, 0 replies; 10+ messages in thread
From: Stefano Babic @ 2017-02-19 16:23 UTC (permalink / raw)
To: u-boot
On 19/02/2017 17:18, Stefano Babic wrote:
> On 04/06/2015 17:25, Markus Niebel wrote:
>> From: Markus Niebel <Markus.Niebel@tq-group.com>
>>
>> This series extends the Kconfig options for TQMa6 to
>> enable removal of CONFIG_SYS_EXTRA_OPTIONS for this boards.
>>
>> To enable env device / boot device configuration the first patch
>> includes the Kconfig generated header in the board configuration
>> header.
>>
>> To enable CPU selection the second patch moves the board selection
>> to the i.MX6 CPU menu as implemented by the Seco mx6 boards
>>
>> Changed for v2:
>> - rebase to current u-boot-imx
>> - add new patch to fix envcrc build for non default boot / env
>> devices
>> - regenerate defconfigs to exclude defaults
>>
>> Markus Niebel (5):
>> arm: imx6: tqma6: add kconfig to board header
>> arm: mx6: tqma6: CPU type selection via Kconfig
>> arm: imx6: tqma6: implement IMX_CONFIG with Kconfig
>> arm: imx6: tqma6: boot device selection via Kconfig
>> arm: imx6: tqma6: implement KConfig baseboard selection
>>
>> arch/arm/Kconfig | 5 ----
>> arch/arm/cpu/armv7/mx6/Kconfig | 5 ++++
>> board/tqc/tqma6/Kconfig | 58 +++++++++++++++++++++++++++++++++++++++
>> configs/tqma6q_mba6_mmc_defconfig | 2 +-
>> configs/tqma6q_mba6_spi_defconfig | 3 +-
>> configs/tqma6s_mba6_mmc_defconfig | 3 +-
>> configs/tqma6s_mba6_spi_defconfig | 4 ++-
>> include/configs/tqma6.h | 1 +
>> 8 files changed, 72 insertions(+), 9 deletions(-)
>>
>
>
> Applied to u-boot-imx, thanks !
>
> Best regards,
> Stefano Babic
>
Sorry, I took the wrong e-mail - but you know what I did.
I applied patches 1-6 (Fix in the environment an cleanup for tqma6)
Best regards,
Stefano
--
Meet DENX at the Embedded World Trade Show
14 Mar - 16 Mar 2017, Nuremberg Trade Fair Centre, Hall 4, Booth 581
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-02-19 16:23 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-04 15:25 [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 1/5] arm: imx6: tqma6: add kconfig to board header Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 2/5] arm: mx6: tqma6: CPU type selection via Kconfig Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 3/5] arm: imx6: tqma6: implement IMX_CONFIG with Kconfig Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 4/5] arm: imx6: tqma6: boot device selection via Kconfig Markus Niebel
2015-06-04 15:25 ` [U-Boot] [PATCH v2 5/5] arm: imx6: tqma6: implement KConfig baseboard selection Markus Niebel
2015-06-15 13:34 ` [U-Boot] [PATCH v2 0/5] arm: imx6: tqma6: Kconfig rework Markus Niebel
2015-06-27 16:04 ` Stefano Babic
2017-02-19 16:18 ` Stefano Babic
2017-02-19 16:23 ` Stefano Babic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox