arm: rmobile: koelsch: Fix QoS revision 0.240 and 0.320
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Mon, 19 May 2014 03:23:35 +0000 (12:23 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Wed, 21 May 2014 01:09:19 +0000 (10:09 +0900)
Add register define of DBSC3 operation adjustment register,
and add initial value.

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
arch/arm/include/asm/arch-rmobile/r8a7791.h
board/renesas/koelsch/qos.c

index 479182571e797195d191dad4f161d28741c99cee..592c52474fe2d5a486f07060a5776dbca0864dde 100644 (file)
@@ -45,6 +45,7 @@
 #define DBSC3_1_QOS_W13_BASE   0xE67A2D00
 #define DBSC3_1_QOS_W14_BASE   0xE67A2E00
 #define DBSC3_1_QOS_W15_BASE   0xE67A2F00
+#define DBSC3_1_DBADJ2         0xE67A00C8
 
 #define R8A7791_CUT_ES2X       2
 #define IS_R8A7791_ES2()       \
index e6c5e48df5e521b146c0306c299a7cce3ed51204..55a04202c16735d42a5208d6b48cf8a83e0ed88c 100644 (file)
@@ -111,6 +111,7 @@ void qos_init(void)
 
        /* DBSC DBADJ2 */
        writel(0x20042004, DBSC3_0_DBADJ2);
+       writel(0x20042004, DBSC3_1_DBADJ2);
 
        /* S3C -QoS */
        s3c = (struct rcar_s3c *)S3C_BASE;