summaryrefslogtreecommitdiff
path: root/include/asm-arm
diff options
context:
space:
mode:
authorAnish Trivedi <anish@freescale.com>2011-10-28 10:33:17 -0500
committerAnish Trivedi <anish@freescale.com>2011-10-28 15:30:47 -0500
commit54e64d791b4431d93bc18ba8c1c5a2860bc8b201 (patch)
treee789bcfe3d2cc36856dd68314902257d503ef76b /include/asm-arm
parentec10ca317794cd7e83e11df57e89085046ccd940 (diff)
downloadu-boot-imx-54e64d791b4431d93bc18ba8c1c5a2860bc8b201.zip
u-boot-imx-54e64d791b4431d93bc18ba8c1c5a2860bc8b201.tar.gz
u-boot-imx-54e64d791b4431d93bc18ba8c1c5a2860bc8b201.tar.bz2
ENGR00161004 MX6Q Uboot Rename sabreauto to arm2 board
Sabreauto is an inaccurate name for the Armadillo2 board that this code is actually meant for. So, replaced "sabreauto" in folder names, file names, configs, and code with "arm2". Created a new machine id for ARM2 board. Signed-off-by: Anish Trivedi <anish@freescale.com>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/mach-types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/asm-arm/mach-types.h b/include/asm-arm/mach-types.h
index 8d8e14c..f5e98af 100644
--- a/include/asm-arm/mach-types.h
+++ b/include/asm-arm/mach-types.h
@@ -3256,6 +3256,7 @@ extern unsigned int __machine_arch_type;
#define MACH_TYPE_MX53_PCBA 3274
#define MACH_TYPE_MX6Q_SABREAUTO 3529
#define MACH_TYPE_MX6Q_SABRELITE 3769
+#define MACH_TYPE_MX6Q_ARM2 3837
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
@@ -42173,6 +42174,18 @@ extern unsigned int __machine_arch_type;
# define machine_is_mx6q_sabrelite() (0)
#endif
+#ifdef CONFIG_MACH_MX6Q_ARM2
+# ifdef machine_arch_type
+# undef machine_arch_type
+# define machine_arch_type __machine_arch_type
+# else
+# define machine_arch_type MACH_TYPE_MX6Q_ARM2
+# endif
+# define machine_is_mx6q_arm2() (machine_arch_type == MACH_TYPE_MX6Q_ARM2)
+#else
+# define machine_is_mx6q_arm2() (0)
+#endif
+
/*
* These have not yet been registered
*/