rk2928: l2 data ram latency, write 1 cycle, read 3 cycles, setup 2 cycles
author黄涛 <huangtao@rock-chips.com>
Wed, 8 Aug 2012 03:25:30 +0000 (11:25 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 8 Aug 2012 03:25:30 +0000 (11:25 +0800)
arch/arm/mach-rk2928/common.c

index 5585deb22ce0ccc27ceb036d902dbc0ebb17beef..1236dca8f1e47e58e8c54f4ea80de4d25bee93e3 100644 (file)
@@ -49,8 +49,8 @@ static void __init rk2928_l2_cache_init(void)
        writel_relaxed(L2_LY_SET(1,L2_LY_SP_OFF)
                                |L2_LY_SET(1,L2_LY_RD_OFF)
                                |L2_LY_SET(1,L2_LY_WR_OFF), RK2928_L2C_BASE + L2X0_TAG_LATENCY_CTRL);
-       writel_relaxed(L2_LY_SET(4,L2_LY_SP_OFF)
-                               |L2_LY_SET(6,L2_LY_RD_OFF)
+       writel_relaxed(L2_LY_SET(2,L2_LY_SP_OFF)
+                               |L2_LY_SET(3,L2_LY_RD_OFF)
                                |L2_LY_SET(1,L2_LY_WR_OFF), RK2928_L2C_BASE + L2X0_DATA_LATENCY_CTRL);
 
        /* L2X0 Prefetch Control */