ARM: mx5: move to a standard arch/board approach
authorAndrej Rosano <andrej@inversepath.com>
Wed, 8 Apr 2015 16:56:29 +0000 (18:56 +0200)
committerStefano Babic <sbabic@denx.de>
Thu, 9 Apr 2015 07:13:54 +0000 (09:13 +0200)
Move the MX5 based boards to arch/arm/cpu/armv7/mx5, following the
commit: 89ebc82137bebb11a8191f8b9cbf08f2533ae8bc

Signed-off-by: Andrej Rosano <andrej@inversepath.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Vagrant Cascadian <vagrant@debian.org>
Tested-by: Chris Kuethe <chris.kuethe@gmail.com>
arch/arm/Kconfig
arch/arm/cpu/armv7/mx5/Kconfig [new file with mode: 0644]

index c0a0fd8..06b8e58 100644 (file)
@@ -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 (file)
index 0000000..960a718
--- /dev/null
@@ -0,0 +1,16 @@
+if ARCH_MX5
+
+config MX5
+       bool
+       default y
+
+config MX51
+       bool
+
+config MX53
+       bool
+
+config SYS_SOC
+       default "mx5"
+
+endif