projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83c22a8
)
rk30: l2: setup prefetch ctrl
author
黄涛
<huangtao@rock-chips.com>
Thu, 12 Apr 2012 09:04:04 +0000
(17:04 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 12 Apr 2012 09:52:17 +0000
(17:52 +0800)
arch/arm/mach-rk30/common.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/common.c
b/arch/arm/mach-rk30/common.c
index 2e03a11e2a2215568633b527b6d8852944946485..b78ea3195bae79ea62c12cc9e55aed131a52f4d9 100755
(executable)
--- a/
arch/arm/mach-rk30/common.c
+++ b/
arch/arm/mach-rk30/common.c
@@
-57,6
+57,9
@@
static void __init rk30_l2_cache_init(void)
|L2_LY_SET(6,L2_LY_RD_OFF)
|L2_LY_SET(1,L2_LY_WR_OFF), RK30_L2C_BASE + L2X0_DATA_LATENCY_CTRL);
+ /* L2X0 Prefetch Control */
+ writel_relaxed(0x70000003, RK30_L2C_BASE + L2X0_PREFETCH_CTRL);
+
/* L2X0 Power Control */
writel_relaxed(L2X0_DYNAMIC_CLK_GATING_EN | L2X0_STNDBY_MODE_EN, RK30_L2C_BASE + L2X0_POWER_CTRL);