Skip to content

Commit

Permalink
[ARM] Feroceon: don't disable BPU on boot
Browse files Browse the repository at this point in the history
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: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
  • Loading branch information
Saeed Bishara authored and Nicolas Pitre committed Jul 7, 2008
1 parent 2e1117d commit 188237e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions arch/arm/mm/proc-feroceon.S
Original file line number Diff line number Diff line change
Expand Up @@ -493,14 +493,15 @@ __feroceon_setup:
.size __feroceon_setup, . - __feroceon_setup

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

__INITDATA

Expand Down

0 comments on commit 188237e

Please sign in to comment.