[PATCH 2/5] ARM i.MX: Add missing cpu_is_mx53()

Sascha Hauer s.hauer at pengutronix.de
Thu Jul 28 03:58:17 EDT 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/mach-imx/include/mach/generic.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-imx/include/mach/generic.h b/arch/arm/mach-imx/include/mach/generic.h
index 2926036..8ff04fb 100644
--- a/arch/arm/mach-imx/include/mach/generic.h
+++ b/arch/arm/mach-imx/include/mach/generic.h
@@ -51,5 +51,11 @@ u64 imx_uid(void);
 #define cpu_is_mx51()	(0)
 #endif
 
+#ifdef CONFIG_ARCH_IMX53
+#define cpu_is_mx53()	(1)
+#else
+#define cpu_is_mx53()	(0)
+#endif
+
 #define cpu_is_mx23()	(0)
 #define cpu_is_mx28()	(0)
-- 
1.7.5.4




More information about the barebox mailing list