From: Arnaud Patard Date: Thu, 13 Mar 2008 08:53:21 +0000 (+0100) Subject: [ARM] 4864/1: Enable write buffer coalescing on IOP X-Git-Tag: upstream/snapshot3+hdmi~26613^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=391c569daa6e4e999592966e29c146dfc4de9a9c;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [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 Signed-off-by: Russell King --- diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S index c156dda..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 /*