Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 391c569d authored by Arnaud Patard's avatar Arnaud Patard Committed by Russell King
Browse files

[ARM] 4864/1: Enable write buffer coalescing on IOP



Some bootloaders are disabling write buffer coalescing. Enable it back
under linux.

Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 7d7971db
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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

/*