diff options
| -rw-r--r-- | arch/sh/boards/mach-migor/setup.c | 12 | ||||
| -rw-r--r-- | arch/sh/boards/mach-se/7724/setup.c | 17 |
2 files changed, 0 insertions, 29 deletions
diff --git a/arch/sh/boards/mach-migor/setup.c b/arch/sh/boards/mach-migor/setup.c index d1e51a9baf9c..e08d5132bb1e 100644 --- a/arch/sh/boards/mach-migor/setup.c +++ b/arch/sh/boards/mach-migor/setup.c | |||
| @@ -496,23 +496,11 @@ static int __init migor_devices_setup(void) | |||
| 496 | &migor_sdram_enter_end, | 496 | &migor_sdram_enter_end, |
| 497 | &migor_sdram_leave_start, | 497 | &migor_sdram_leave_start, |
| 498 | &migor_sdram_leave_end); | 498 | &migor_sdram_leave_end); |
| 499 | #ifdef CONFIG_PM | ||
| 500 | /* Let D11 LED show STATUS0 */ | 499 | /* Let D11 LED show STATUS0 */ |
| 501 | gpio_request(GPIO_FN_STATUS0, NULL); | 500 | gpio_request(GPIO_FN_STATUS0, NULL); |
| 502 | 501 | ||
| 503 | /* Lit D12 LED show PDSTATUS */ | 502 | /* Lit D12 LED show PDSTATUS */ |
| 504 | gpio_request(GPIO_FN_PDSTATUS, NULL); | 503 | gpio_request(GPIO_FN_PDSTATUS, NULL); |
| 505 | #else | ||
| 506 | /* Lit D11 LED */ | ||
| 507 | gpio_request(GPIO_PTJ7, NULL); | ||
| 508 | gpio_direction_output(GPIO_PTJ7, 1); | ||
| 509 | gpio_export(GPIO_PTJ7, 0); | ||
| 510 | |||
| 511 | /* Lit D12 LED */ | ||
| 512 | gpio_request(GPIO_PTJ5, NULL); | ||
| 513 | gpio_direction_output(GPIO_PTJ5, 1); | ||
| 514 | gpio_export(GPIO_PTJ5, 0); | ||
| 515 | #endif | ||
| 516 | 504 | ||
| 517 | /* SMC91C111 - Enable IRQ0, Setup CS4 for 16-bit fast access */ | 505 | /* SMC91C111 - Enable IRQ0, Setup CS4 for 16-bit fast access */ |
| 518 | gpio_request(GPIO_FN_IRQ0, NULL); | 506 | gpio_request(GPIO_FN_IRQ0, NULL); |
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c index 563f3dcb1f9b..66cdbc3c7af9 100644 --- a/arch/sh/boards/mach-se/7724/setup.c +++ b/arch/sh/boards/mach-se/7724/setup.c | |||
| @@ -629,7 +629,6 @@ static int __init devices_setup(void) | |||
| 629 | /* turn on USB clocks, use external clock */ | 629 | /* turn on USB clocks, use external clock */ |
| 630 | __raw_writew((__raw_readw(PORT_MSELCRB) & ~0xc000) | 0x8000, PORT_MSELCRB); | 630 | __raw_writew((__raw_readw(PORT_MSELCRB) & ~0xc000) | 0x8000, PORT_MSELCRB); |
| 631 | 631 | ||
| 632 | #ifdef CONFIG_PM | ||
| 633 | /* Let LED9 show STATUS2 */ | 632 | /* Let LED9 show STATUS2 */ |
| 634 | gpio_request(GPIO_FN_STATUS2, NULL); | 633 | gpio_request(GPIO_FN_STATUS2, NULL); |
| 635 | 634 | ||
| @@ -638,22 +637,6 @@ static int __init devices_setup(void) | |||
| 638 | 637 | ||
| 639 | /* Lit LED11 show PDSTATUS */ | 638 | /* Lit LED11 show PDSTATUS */ |
| 640 | gpio_request(GPIO_FN_PDSTATUS, NULL); | 639 | gpio_request(GPIO_FN_PDSTATUS, NULL); |
| 641 | #else | ||
| 642 | /* Lit LED9 */ | ||
| 643 | gpio_request(GPIO_PTJ6, NULL); | ||
| 644 | gpio_direction_output(GPIO_PTJ6, 1); | ||
| 645 | gpio_export(GPIO_PTJ6, 0); | ||
| 646 | |||
| 647 | /* Lit LED10 */ | ||
| 648 | gpio_request(GPIO_PTJ5, NULL); | ||
| 649 | gpio_direction_output(GPIO_PTJ5, 1); | ||
| 650 | gpio_export(GPIO_PTJ5, 0); | ||
| 651 | |||
| 652 | /* Lit LED11 */ | ||
| 653 | gpio_request(GPIO_PTJ7, NULL); | ||
| 654 | gpio_direction_output(GPIO_PTJ7, 1); | ||
| 655 | gpio_export(GPIO_PTJ7, 0); | ||
| 656 | #endif | ||
| 657 | 640 | ||
| 658 | /* enable USB0 port */ | 641 | /* enable USB0 port */ |
| 659 | __raw_writew(0x0600, 0xa40501d4); | 642 | __raw_writew(0x0600, 0xa40501d4); |
