diff options
Diffstat (limited to 'arch/arm/mach-omap1/board-sx1.c')
-rw-r--r-- | arch/arm/mach-omap1/board-sx1.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/arch/arm/mach-omap1/board-sx1.c b/arch/arm/mach-omap1/board-sx1.c index 130bcc6fd082..8171fe0ca082 100644 --- a/arch/arm/mach-omap1/board-sx1.c +++ b/arch/arm/mach-omap1/board-sx1.c | |||
@@ -378,15 +378,6 @@ static struct omap_usb_config sx1_usb_config __initdata = { | |||
378 | .pins[2] = 0, | 378 | .pins[2] = 0, |
379 | }; | 379 | }; |
380 | 380 | ||
381 | /*----------- MMC -------------------------*/ | ||
382 | |||
383 | static struct omap_mmc_config sx1_mmc_config __initdata = { | ||
384 | .mmc [0] = { | ||
385 | .enabled = 1, | ||
386 | .wire4 = 0, | ||
387 | }, | ||
388 | }; | ||
389 | |||
390 | /*----------- LCD -------------------------*/ | 381 | /*----------- LCD -------------------------*/ |
391 | 382 | ||
392 | static struct platform_device sx1_lcd_device = { | 383 | static struct platform_device sx1_lcd_device = { |
@@ -414,7 +405,6 @@ static struct omap_uart_config sx1_uart_config __initdata = { | |||
414 | 405 | ||
415 | static struct omap_board_config_kernel sx1_config[] __initdata = { | 406 | static struct omap_board_config_kernel sx1_config[] __initdata = { |
416 | { OMAP_TAG_USB, &sx1_usb_config }, | 407 | { OMAP_TAG_USB, &sx1_usb_config }, |
417 | { OMAP_TAG_MMC, &sx1_mmc_config }, | ||
418 | { OMAP_TAG_LCD, &sx1_lcd_config }, | 408 | { OMAP_TAG_LCD, &sx1_lcd_config }, |
419 | { OMAP_TAG_UART, &sx1_uart_config }, | 409 | { OMAP_TAG_UART, &sx1_uart_config }, |
420 | }; | 410 | }; |
@@ -436,14 +426,9 @@ static void __init omap_sx1_init(void) | |||
436 | omap_request_gpio(1); /* A_IRDA_OFF */ | 426 | omap_request_gpio(1); /* A_IRDA_OFF */ |
437 | omap_request_gpio(11); /* A_SWITCH */ | 427 | omap_request_gpio(11); /* A_SWITCH */ |
438 | omap_request_gpio(15); /* A_USB_ON */ | 428 | omap_request_gpio(15); /* A_USB_ON */ |
439 | omap_set_gpio_direction(1, 0);/* gpio1 -> output */ | 429 | gpio_direction_output(1, 1); /*A_IRDA_OFF = 1 */ |
440 | omap_set_gpio_direction(11, 0);/* gpio11 -> output */ | 430 | gpio_direction_output(11, 0); /*A_SWITCH = 0 */ |
441 | omap_set_gpio_direction(15, 0);/* gpio15 -> output */ | 431 | gpio_direction_output(15, 0); /*A_USB_ON = 0 */ |
442 | /* set GPIO data */ | ||
443 | omap_set_gpio_dataout(1, 1);/*A_IRDA_OFF = 1 */ | ||
444 | omap_set_gpio_dataout(11, 0);/*A_SWITCH = 0 */ | ||
445 | omap_set_gpio_dataout(15, 0);/*A_USB_ON = 0 */ | ||
446 | |||
447 | } | 432 | } |
448 | /*----------------------------------------*/ | 433 | /*----------------------------------------*/ |
449 | static void __init omap_sx1_init_irq(void) | 434 | static void __init omap_sx1_init_irq(void) |