diff options
Diffstat (limited to 'arch/m68k/platform/coldfire/m523x.c')
-rw-r--r-- | arch/m68k/platform/coldfire/m523x.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/arch/m68k/platform/coldfire/m523x.c b/arch/m68k/platform/coldfire/m523x.c index d47dfd8f50a2..ff37fe9553ea 100644 --- a/arch/m68k/platform/coldfire/m523x.c +++ b/arch/m68k/platform/coldfire/m523x.c | |||
@@ -42,14 +42,8 @@ static void __init m523x_qspi_init(void) | |||
42 | 42 | ||
43 | static void __init m523x_fec_init(void) | 43 | static void __init m523x_fec_init(void) |
44 | { | 44 | { |
45 | u16 par; | ||
46 | u8 v; | ||
47 | |||
48 | /* Set multi-function pins to ethernet use */ | 45 | /* Set multi-function pins to ethernet use */ |
49 | par = readw(MCF_IPSBAR + 0x100082); | 46 | writeb(readb(MCFGPIO_PAR_FECI2C) | 0xf0, MCFGPIO_PAR_FECI2C); |
50 | writew(par | 0xf00, MCF_IPSBAR + 0x100082); | ||
51 | v = readb(MCF_IPSBAR + 0x100078); | ||
52 | writeb(v | 0xc0, MCF_IPSBAR + 0x100078); | ||
53 | } | 47 | } |
54 | 48 | ||
55 | /***************************************************************************/ | 49 | /***************************************************************************/ |