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>
#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 */
u32 s3cexclidmsk;
u32 s3cadsplcr;
u32 s3cmaar;
- u32 s3carcr11; /* R8a7790 only */
+ u32 s3carcr11;
u32 s3crorr;
u32 s3cworr;
u32 s3carcr22;