diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index c71580557c62..e096f776f996 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -29,7 +29,6 @@ | |||
29 | #include <asm/mach/arch.h> | 29 | #include <asm/mach/arch.h> |
30 | #include <asm/mach/map.h> | 30 | #include <asm/mach/map.h> |
31 | 31 | ||
32 | #include <mach/board-ldp.h> | ||
33 | #include <mach/mcspi.h> | 32 | #include <mach/mcspi.h> |
34 | #include <mach/gpio.h> | 33 | #include <mach/gpio.h> |
35 | #include <mach/board.h> | 34 | #include <mach/board.h> |
@@ -38,15 +37,19 @@ | |||
38 | 37 | ||
39 | #include <asm/delay.h> | 38 | #include <asm/delay.h> |
40 | #include <mach/control.h> | 39 | #include <mach/control.h> |
40 | #include <mach/usb.h> | ||
41 | 41 | ||
42 | #include "mmc-twl4030.h" | 42 | #include "mmc-twl4030.h" |
43 | 43 | ||
44 | #define SDP3430_SMC91X_CS 3 | 44 | #define LDP_SMC911X_CS 1 |
45 | #define LDP_SMC911X_GPIO 152 | ||
46 | #define DEBUG_BASE 0x08000000 | ||
47 | #define LDP_ETHR_START DEBUG_BASE | ||
45 | 48 | ||
46 | static struct resource ldp_smc911x_resources[] = { | 49 | static struct resource ldp_smc911x_resources[] = { |
47 | [0] = { | 50 | [0] = { |
48 | .start = OMAP34XX_ETHR_START, | 51 | .start = LDP_ETHR_START, |
49 | .end = OMAP34XX_ETHR_START + SZ_4K, | 52 | .end = LDP_ETHR_START + SZ_4K, |
50 | .flags = IORESOURCE_MEM, | 53 | .flags = IORESOURCE_MEM, |
51 | }, | 54 | }, |
52 | [1] = { | 55 | [1] = { |
@@ -162,6 +165,7 @@ static void __init omap_ldp_init(void) | |||
162 | omap_board_config_size = ARRAY_SIZE(ldp_config); | 165 | omap_board_config_size = ARRAY_SIZE(ldp_config); |
163 | omap_serial_init(); | 166 | omap_serial_init(); |
164 | twl4030_mmc_init(mmc); | 167 | twl4030_mmc_init(mmc); |
168 | usb_musb_init(); | ||
165 | } | 169 | } |
166 | 170 | ||
167 | static void __init omap_ldp_map_io(void) | 171 | static void __init omap_ldp_map_io(void) |