diff mbox

[U-Boot,1/3] imx31_phycore: Split the eet variant out into a different TARGET

Message ID 1485132191-11221-1-git-send-email-trini@konsulko.com
State Accepted
Commit f428268adb7b632e3477f1f2b98df07eb0cb6040
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Jan. 23, 2017, 12:43 a.m. UTC
Rename CONFIG_IMX31_PHYCORE_EET to CONFIG_TARGET_IMX31_PHYCORE_EET and
make this a distinct config target.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 arch/arm/Kconfig                    | 6 +++++-
 board/imx31_phycore/Kconfig         | 2 +-
 configs/imx31_phycore_eet_defconfig | 3 +--
 include/configs/imx31_phycore.h     | 2 +-
 4 files changed, 8 insertions(+), 5 deletions(-)

Comments

Tom Rini Jan. 25, 2017, 2:15 a.m. UTC | #1
On Sun, Jan 22, 2017 at 07:43:09PM -0500, Tom Rini wrote:

> Rename CONFIG_IMX31_PHYCORE_EET to CONFIG_TARGET_IMX31_PHYCORE_EET and
> make this a distinct config target.
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 855871c..472b3d4 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -315,7 +315,11 @@  config TARGET_X600
 	select SUPPORT_SPL
 
 config TARGET_IMX31_PHYCORE
-	bool "Support imx31_phycore"
+	bool "Support imx31_phycore_eet"
+	select CPU_ARM1136
+
+config TARGET_IMX31_PHYCORE_EET
+	bool "Support imx31_phycore_eet"
 	select CPU_ARM1136
 
 config TARGET_MX31ADS
diff --git a/board/imx31_phycore/Kconfig b/board/imx31_phycore/Kconfig
index d3d2025..e897ee1 100644
--- a/board/imx31_phycore/Kconfig
+++ b/board/imx31_phycore/Kconfig
@@ -1,4 +1,4 @@ 
-if TARGET_IMX31_PHYCORE
+if TARGET_IMX31_PHYCORE || TARGET_IMX31_PHYCORE_EET
 
 config SYS_BOARD
 	default "imx31_phycore"
diff --git a/configs/imx31_phycore_eet_defconfig b/configs/imx31_phycore_eet_defconfig
index 1137194..bc9dea6 100644
--- a/configs/imx31_phycore_eet_defconfig
+++ b/configs/imx31_phycore_eet_defconfig
@@ -1,7 +1,6 @@ 
 CONFIG_ARM=y
-CONFIG_TARGET_IMX31_PHYCORE=y
+CONFIG_TARGET_IMX31_PHYCORE_EET=y
 CONFIG_VIDEO=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX31_PHYCORE_EET"
 CONFIG_BOOTDELAY=3
 # CONFIG_CONSOLE_MUX is not set
 CONFIG_SYS_CONSOLE_IS_IN_ENV=y
diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h
index efeb008..de333e9 100644
--- a/include/configs/imx31_phycore.h
+++ b/include/configs/imx31_phycore.h
@@ -168,7 +168,7 @@ 
 #define CONFIG_JFFS2_DEV	"nor0"
 
 /* EET platform additions */
-#ifdef CONFIG_IMX31_PHYCORE_EET
+#ifdef CONFIG_TARGET_IMX31_PHYCORE_EET
 #define CONFIG_MXC_GPIO
 
 #define CONFIG_HARD_SPI