summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/proc-xscale.S
diff options
context:
space:
mode:
authorArnaud Patard <arnaud.patard@rtp-net.org>2008-03-13 09:53:21 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-20 15:59:30 +0000
commit391c569daa6e4e999592966e29c146dfc4de9a9c (patch)
tree8d4c247ff59d1c5502b8ae831cce11f22c77f75f /arch/arm/mm/proc-xscale.S
parent7d7971db29c078a7946efbe479de5e567a20ba9a (diff)
downloadop-kernel-dev-391c569daa6e4e999592966e29c146dfc4de9a9c.zip
op-kernel-dev-391c569daa6e4e999592966e29c146dfc4de9a9c.tar.gz
[ARM] 4864/1: Enable write buffer coalescing on IOP
Some bootloaders are disabling write buffer coalescing. Enable it back under linux. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/proc-xscale.S')
-rw-r--r--arch/arm/mm/proc-xscale.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S
index c156ddab..016690b 100644
--- a/arch/arm/mm/proc-xscale.S
+++ b/arch/arm/mm/proc-xscale.S
@@ -114,6 +114,10 @@ clean_addr: .word CLEAN_ADDR
* Nothing too exciting at the moment
*/
ENTRY(cpu_xscale_proc_init)
+ @ enable write buffer coalescing. Some bootloader disable it
+ mrc p15, 0, r1, c1, c0, 1
+ bic r1, r1, #1
+ mcr p15, 0, r1, c1, c0, 1
mov pc, lr
/*
OpenPOWER on IntegriCloud