diff options
Diffstat (limited to 'arch/m68k/platform')
-rw-r--r-- | arch/m68k/platform/coldfire/m527x.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/m68k/platform/coldfire/m527x.c b/arch/m68k/platform/coldfire/m527x.c index b3cb378c5e94..1431ba03c602 100644 --- a/arch/m68k/platform/coldfire/m527x.c +++ b/arch/m68k/platform/coldfire/m527x.c | |||
@@ -53,9 +53,9 @@ static void __init m527x_uarts_init(void) | |||
53 | /* | 53 | /* |
54 | * External Pin Mask Setting & Enable External Pin for Interface | 54 | * External Pin Mask Setting & Enable External Pin for Interface |
55 | */ | 55 | */ |
56 | sepmask = readw(MCF_IPSBAR + MCF_GPIO_PAR_UART); | 56 | sepmask = readw(MCFGPIO_PAR_UART); |
57 | sepmask |= UART0_ENABLE_MASK | UART1_ENABLE_MASK | UART2_ENABLE_MASK; | 57 | sepmask |= UART0_ENABLE_MASK | UART1_ENABLE_MASK | UART2_ENABLE_MASK; |
58 | writew(sepmask, MCF_IPSBAR + MCF_GPIO_PAR_UART); | 58 | writew(sepmask, MCFGPIO_PAR_UART); |
59 | } | 59 | } |
60 | 60 | ||
61 | /***************************************************************************/ | 61 | /***************************************************************************/ |
@@ -67,19 +67,19 @@ static void __init m527x_fec_init(void) | |||
67 | 67 | ||
68 | /* Set multi-function pins to ethernet mode for fec0 */ | 68 | /* Set multi-function pins to ethernet mode for fec0 */ |
69 | #if defined(CONFIG_M5271) | 69 | #if defined(CONFIG_M5271) |
70 | v = readb(MCF_IPSBAR + 0x100047); | 70 | v = readb(MCFGPIO_PAR_FECI2C); |
71 | writeb(v | 0xf0, MCF_IPSBAR + 0x100047); | 71 | writeb(v | 0xf0, MCFGPIO_PAR_FECI2C); |
72 | #else | 72 | #else |
73 | par = readw(MCF_IPSBAR + 0x100082); | 73 | par = readw(MCFGPIO_PAR_FECI2C); |
74 | writew(par | 0xf00, MCF_IPSBAR + 0x100082); | 74 | writew(par | 0xf00, MCFGPIO_PAR_FECI2C); |
75 | v = readb(MCF_IPSBAR + 0x100078); | 75 | v = readb(MCFGPIO_PAR_FEC0HL); |
76 | writeb(v | 0xc0, MCF_IPSBAR + 0x100078); | 76 | writeb(v | 0xc0, MCFGPIO_PAR_FEC0HL); |
77 | 77 | ||
78 | /* Set multi-function pins to ethernet mode for fec1 */ | 78 | /* Set multi-function pins to ethernet mode for fec1 */ |
79 | par = readw(MCF_IPSBAR + 0x100082); | 79 | par = readw(MCFGPIO_PAR_FECI2C); |
80 | writew(par | 0xa0, MCF_IPSBAR + 0x100082); | 80 | writew(par | 0xa0, MCFGPIO_PAR_FECI2C); |
81 | v = readb(MCF_IPSBAR + 0x100079); | 81 | v = readb(MCFGPIO_PAR_FEC1HL); |
82 | writeb(v | 0xc0, MCF_IPSBAR + 0x100079); | 82 | writeb(v | 0xc0, MCFGPIO_PAR_FEC1HL); |
83 | #endif | 83 | #endif |
84 | } | 84 | } |
85 | 85 | ||