summaryrefslogtreecommitdiff
path: root/arch/arm/cpu
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2015-03-04 13:13:03 +0100
committerStefano Babic <sbabic@denx.de>2015-03-23 13:18:01 +0100
commit89ebc82137bebb11a8191f8b9cbf08f2533ae8bc (patch)
tree3a3040e9284a79965fe3fca27f116a2e9ec168ce /arch/arm/cpu
parent21866c34a1b4098a8868c9250daf01baf84c2397 (diff)
downloadu-boot-imx-89ebc82137bebb11a8191f8b9cbf08f2533ae8bc.zip
u-boot-imx-89ebc82137bebb11a8191f8b9cbf08f2533ae8bc.tar.gz
u-boot-imx-89ebc82137bebb11a8191f8b9cbf08f2533ae8bc.tar.bz2
ARM: mx6: move to a standard arch/board approach
Freescale boards are currently all defined in arch/arm/Kconfig, which makes them hard to detect. Moreover the MX6 SoC variant (Q, D, DL, S, SL) selection is currently done via the SYS_EXTRA_OPTIONS option which marked as deprecated. Move to a more standard way to select sub-architecture and board by creating a Kconfig under arch/arm/cpu/armv7/mx6 and a new ARCH_MX6 option. Existing MX6 board definitions should be moved in this new Kconfig in choice menu, and new boards should be directly declared in this menu. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r--arch/arm/cpu/armv7/mx6/Kconfig31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
new file mode 100644
index 0000000..a32fd87
--- /dev/null
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -0,0 +1,31 @@
+if ARCH_MX6
+
+config MX6
+ bool
+ default y
+
+config MX6D
+ bool
+
+config MX6DL
+ bool
+
+config MX6Q
+ bool
+
+config MX6QDL
+ bool
+
+config MX6S
+ bool
+
+config MX6SL
+ bool
+
+config MX6SX
+ bool
+
+config SYS_SOC
+ default "mx6"
+
+endif