summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-rmobile/r8a7791.h
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2014-03-28 13:43:40 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2014-04-28 04:35:12 +0900
commitfb3af517ef12dc42729ecfbea3f9dd282cec62bd (patch)
treee0e08a6a568d8e88c5bb58779eed45919b76d1e8 /arch/arm/include/asm/arch-rmobile/r8a7791.h
parentf637656dd4095eea789fbb45573b724810cc67c7 (diff)
downloadu-boot-imx-fb3af517ef12dc42729ecfbea3f9dd282cec62bd.zip
u-boot-imx-fb3af517ef12dc42729ecfbea3f9dd282cec62bd.tar.gz
u-boot-imx-fb3af517ef12dc42729ecfbea3f9dd282cec62bd.tar.bz2
arm: rmobile: r8a7791: Add support ES2 revision
There is ES2 is a new revision to R8A7791. This adds support this revision. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'arch/arm/include/asm/arch-rmobile/r8a7791.h')
-rw-r--r--arch/arm/include/asm/arch-rmobile/r8a7791.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-rmobile/r8a7791.h b/arch/arm/include/asm/arch-rmobile/r8a7791.h
index 7c8f19c..4791825 100644
--- a/arch/arm/include/asm/arch-rmobile/r8a7791.h
+++ b/arch/arm/include/asm/arch-rmobile/r8a7791.h
@@ -46,4 +46,8 @@
#define DBSC3_1_QOS_W14_BASE 0xE67A2E00
#define DBSC3_1_QOS_W15_BASE 0xE67A2F00
+#define R8A7791_CUT_ES2X 2
+#define IS_R8A7791_ES2() \
+ (rmobile_get_cpu_rev_integer() == R8A7791_CUT_ES2X)
+
#endif /* __ASM_ARCH_R8A7791_H */