diff options
Diffstat (limited to 'arch/arm/mach-pxa/colibri.c')
-rw-r--r-- | arch/arm/mach-pxa/colibri.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/arch/arm/mach-pxa/colibri.c b/arch/arm/mach-pxa/colibri.c index abce13c846c5..e8473624427e 100644 --- a/arch/arm/mach-pxa/colibri.c +++ b/arch/arm/mach-pxa/colibri.c | |||
@@ -29,12 +29,17 @@ | |||
29 | #include <asm/mach/irq.h> | 29 | #include <asm/mach/irq.h> |
30 | #include <asm/mach/flash.h> | 30 | #include <asm/mach/flash.h> |
31 | #include <mach/pxa-regs.h> | 31 | #include <mach/pxa-regs.h> |
32 | #include <mach/pxa2xx-gpio.h> | 32 | #include <mach/mfp-pxa27x.h> |
33 | #include <mach/colibri.h> | 33 | #include <mach/colibri.h> |
34 | 34 | ||
35 | #include "generic.h" | 35 | #include "generic.h" |
36 | #include "devices.h" | 36 | #include "devices.h" |
37 | 37 | ||
38 | static unsigned long colibri_pin_config[] __initdata = { | ||
39 | GPIO78_nCS_2, /* Ethernet CS */ | ||
40 | GPIO114_GPIO, /* Ethernet IRQ */ | ||
41 | }; | ||
42 | |||
38 | /* | 43 | /* |
39 | * Flash | 44 | * Flash |
40 | */ | 45 | */ |
@@ -116,9 +121,7 @@ static struct platform_device *colibri_devices[] __initdata = { | |||
116 | 121 | ||
117 | static void __init colibri_init(void) | 122 | static void __init colibri_init(void) |
118 | { | 123 | { |
119 | /* DM9000 LAN */ | 124 | pxa2xx_mfp_config(ARRAY_AND_SIZE(colibri_pin_config)); |
120 | pxa_gpio_mode(GPIO78_nCS_2_MD); | ||
121 | pxa_gpio_mode(GPIO_DM9000 | GPIO_IN); | ||
122 | 125 | ||
123 | platform_add_devices(colibri_devices, ARRAY_SIZE(colibri_devices)); | 126 | platform_add_devices(colibri_devices, ARRAY_SIZE(colibri_devices)); |
124 | } | 127 | } |