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

Commit 188237e2 authored by Saeed Bishara's avatar Saeed Bishara Committed by Nicolas Pitre
Browse files

[ARM] Feroceon: don't disable BPU on boot



On Feroceon platforms that have a branch prediction unit, bit 11 of the
cp15 control register controls the BPU.  This patch keeps the old value
of this bit instead of always clearing it.

Signed-off-by: default avatarSaeed Bishara <saeed@marvell.com>
Signed-off-by: default avatarLennert Buytenhek <buytenh@marvell.com>
Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
parent 2e1117d3
Loading
Loading
Loading
Loading
+5 −4
Original line number Original line Diff line number Diff line
@@ -493,14 +493,15 @@ __feroceon_setup:
	.size	__feroceon_setup, . - __feroceon_setup
	.size	__feroceon_setup, . - __feroceon_setup


	/*
	/*
	 *  R
	 *      B
	 * .RVI ZFRS BLDP WCAM
	 *  R   P
	 * .011 0001 ..11 0101
	 * .RVI UFRS BLDP WCAM
	 * .011 .001 ..11 0101
	 *
	 *
	 */
	 */
	.type	feroceon_crval, #object
	.type	feroceon_crval, #object
feroceon_crval:
feroceon_crval:
	crval	clear=0x00007f3f, mmuset=0x00003135, ucset=0x00001134
	crval	clear=0x0000773f, mmuset=0x00003135, ucset=0x00001134


	__INITDATA
	__INITDATA