Commit 24eb3a50 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc32: PPC4xx fixes

From: Matt Porter <mporter@kernel.crashing.org>

Fixes 440GX UIC code, updates 440GX PVRs, and fixes a typo.
parent f665e63f
...@@ -545,8 +545,8 @@ struct cpu_spec cpu_specs[] = { ...@@ -545,8 +545,8 @@ struct cpu_spec cpu_specs[] = {
32, 32, 32, 32,
0, /*__setup_cpu_440 */ 0, /*__setup_cpu_440 */
}, },
{ /* 440GX Rev. B1 (2.1) */ { /* 440GX Rev. C */
0xf0000fff, 0x50000852, "440GX Rev. B1 (2.1)", 0xf0000fff, 0x50000892, "440GX Rev. C",
CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB, CPU_FTR_SPLIT_ID_CACHE | CPU_FTR_USE_TB,
PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU, PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU,
32, 32, 32, 32,
......
...@@ -125,7 +125,7 @@ struct ocp_def core_ocp[] = { ...@@ -125,7 +125,7 @@ struct ocp_def core_ocp[] = {
{ .vendor = OCP_VENDOR_IBM, { .vendor = OCP_VENDOR_IBM,
.function = OCP_FUNC_EMAC, .function = OCP_FUNC_EMAC,
.index = 0, .index = 0,
.paddr = 0x0000000140000800UL, .paddr = 0x0000000140000800ULL,
.irq = 60, .irq = 60,
.pm = OCP_CPM_NA, .pm = OCP_CPM_NA,
.additions = &ibm440gp_emac0_def, .additions = &ibm440gp_emac0_def,
......
...@@ -269,6 +269,9 @@ ppc4xx_uic_end(unsigned int irq) ...@@ -269,6 +269,9 @@ ppc4xx_uic_end(unsigned int irq)
case 1: case 1:
tr_bits = mfdcr(DCRN_UIC_TR(UIC1)); tr_bits = mfdcr(DCRN_UIC_TR(UIC1));
break; break;
case 2:
tr_bits = mfdcr(DCRN_UIC_TR(UIC2));
break;
} }
if ((tr_bits & (1 << (31 - bit))) == 0) { if ((tr_bits & (1 << (31 - bit))) == 0) {
......
...@@ -444,7 +444,7 @@ ...@@ -444,7 +444,7 @@
#define PVR_440GP_RC2 0x40200481 #define PVR_440GP_RC2 0x40200481
#define PVR_440GX_RA 0x51b21850 #define PVR_440GX_RA 0x51b21850
#define PVR_440GX_RB 0x51b21851 #define PVR_440GX_RB 0x51b21851
#define PVR_440GX_RB1 0x51b21852 #define PVR_440GX_RC 0x51b21892
#define PVR_601 0x00010000 #define PVR_601 0x00010000
#define PVR_602 0x00050000 #define PVR_602 0x00050000
#define PVR_603 0x00030000 #define PVR_603 0x00030000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment