summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLily Zhang <r58066@freescale.com>2012-03-12 21:36:28 +0800
committerLily Zhang <r58066@freescale.com>2012-03-15 17:07:07 +0800
commitcd8816c561ff3620fd3ec152e17a0ccc3380a93f (patch)
treefdcabfd0bf74241c5b3360d715b8a9092074bdc5 /arch
parentfaf465ca9a3770a7d829a8cbfb1b3306a05e1262 (diff)
ENGR00176812-8 mx6 sabreauto: add board_is_mx6_xxx macro
Add the following macros to make codes readable. board_is_mx6_sabreauto_reva() board_is_mx6_sabreauto_revb() Signed-off-by: Lily Zhang <r58066@freescale.com>
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/plat-mxc/include/mach/mxc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mxc.h b/arch/arm/plat-mxc/include/mach/mxc.h
index c8f18052c6af..caa218b08257 100755
--- a/arch/arm/plat-mxc/include/mach/mxc.h
+++ b/arch/arm/plat-mxc/include/mach/mxc.h
@@ -92,6 +92,10 @@ extern unsigned int system_rev;
board_is_rev(IMX_BOARD_REV_2))
#define board_is_mx6q_sabre_auto() (cpu_is_mx6q() && \
board_is_rev(IMX_BOARD_REV_3))
+#define board_is_mx6_sabreauto_reva() \
+ board_is_rev(IMX_BOARD_REV_2)
+#define board_is_mx6_sabreauto_revb() \
+ board_is_rev(IMX_BOARD_REV_1)
#endif
#ifndef __ASSEMBLY__