[U-Boot] [PATCH 6/8] arm: rmobile: r8a7790: Add support ES2 revision
Nobuhiro Iwamatsu
nobuhiro.iwamatsu.yj at renesas.com
Thu Apr 3 07:19:08 CEST 2014
There is ES2 is a new revision to R8A7790.
This adds support this revision.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
---
arch/arm/include/asm/arch-rmobile/r8a7790.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/include/asm/arch-rmobile/r8a7790.h b/arch/arm/include/asm/arch-rmobile/r8a7790.h
index bd210d0..6ef665d 100644
--- a/arch/arm/include/asm/arch-rmobile/r8a7790.h
+++ b/arch/arm/include/asm/arch-rmobile/r8a7790.h
@@ -11,4 +11,8 @@
#include "rcar-base.h"
+#define R8A7790_CUT_ES2X 2
+#define IS_R8A7790_ES2() \
+ (rmobile_get_cpu_rev_integer() == R8A7790_CUT_ES2X)
+
#endif /* __ASM_ARCH_R8A7790_H */
--
1.8.5
More information about the U-Boot
mailing list