[U-Boot] [PATCH v5 1/2] ARM: mx5: move to a standard arch/board approach

andrej at inversepath.com andrej at inversepath.com
Wed Apr 8 18:56:29 CEST 2015


From: Andrej Rosano <andrej at inversepath.com>

Move the MX5 based boards to arch/arm/cpu/armv7/mx5, following the
commit: 89ebc82137bebb11a8191f8b9cbf08f2533ae8bc

Signed-off-by: Andrej Rosano <andrej at inversepath.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Vagrant Cascadian <vagrant at debian.org>
---
 arch/arm/Kconfig               |    6 ++++++
 arch/arm/cpu/armv7/mx5/Kconfig |   16 ++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 arch/arm/cpu/armv7/mx5/Kconfig

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index c0a0fd8..06b8e58 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -437,6 +437,10 @@ config ARCH_MX6
 	bool "Freescale MX6"
 	select CPU_V7
 
+config ARCH_MX5
+	bool "Freescale MX5"
+	select CPU_V7
+
 config TARGET_M53EVK
 	bool "Support m53evk"
 	select CPU_V7
@@ -741,6 +745,8 @@ source "arch/arm/mach-kirkwood/Kconfig"
 
 source "arch/arm/cpu/armv7/mx6/Kconfig"
 
+source "arch/arm/cpu/armv7/mx5/Kconfig"
+
 source "arch/arm/mach-nomadik/Kconfig"
 
 source "arch/arm/cpu/armv7/omap3/Kconfig"
diff --git a/arch/arm/cpu/armv7/mx5/Kconfig b/arch/arm/cpu/armv7/mx5/Kconfig
new file mode 100644
index 0000000..960a718
--- /dev/null
+++ b/arch/arm/cpu/armv7/mx5/Kconfig
@@ -0,0 +1,16 @@
+if ARCH_MX5
+
+config MX5
+	bool
+	default y
+
+config MX51
+	bool
+
+config MX53
+	bool
+
+config SYS_SOC
+	default "mx5"
+
+endif
-- 
1.7.10.4



More information about the U-Boot mailing list