Disable branch-target instruction cache on MPC7457 as outlined
in Motorola processor errata. Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
This commit is contained in:
parent
c2a792a65d
commit
5715cbfdf1
@ -177,8 +177,9 @@ cpu_setup(u_int cpuid)
|
||||
case MPC7457:
|
||||
case MPC7455:
|
||||
case MPC7450:
|
||||
/* Disable BTIC on 7450 Rev 2.0 or earlier */
|
||||
if ((pvr >> 16) == MPC7450 && (pvr & 0xFFFF) <= 0x0200)
|
||||
/* Disable BTIC on 7450 Rev 2.0 or earlier and on 7457 */
|
||||
if (((pvr >> 16) == MPC7450 && (pvr & 0xFFFF) <= 0x0200)
|
||||
|| (pvr >> 16) == MPC7457)
|
||||
hid0 &= ~HID0_BTIC;
|
||||
/* Select NAP mode. */
|
||||
hid0 &= ~(HID0_DOZE | HID0_NAP | HID0_SLEEP);
|
||||
|
Loading…
Reference in New Issue
Block a user