diff options
author | Arnaud Patard <arnaud.patard@rtp-net.org> | 2008-03-13 11:53:21 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-03-20 18:59:30 +0300 |
commit | 391c569daa6e4e999592966e29c146dfc4de9a9c (patch) | |
tree | 8d4c247ff59d1c5502b8ae831cce11f22c77f75f /arch/arm/mm/proc-xscale.S | |
parent | 7d7971db29c078a7946efbe479de5e567a20ba9a (diff) | |
download | linux-391c569daa6e4e999592966e29c146dfc4de9a9c.tar.xz |
[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.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S index c156ddab9a2d..016690b9d564 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 /* |