diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-03-21 21:08:00 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-03-22 13:22:11 +0100 |
commit | f3f91f886bc8927fd692ac411b7423a87ffec532 (patch) | |
tree | 1a0bfc378886154435956f87809b898915396267 /board/atmel | |
parent | a484b00b86e72ac6da6ee4fce13dbc6b256672fe (diff) | |
download | bootable_bootloader_goldelico_gta04-f3f91f886bc8927fd692ac411b7423a87ffec532.zip bootable_bootloader_goldelico_gta04-f3f91f886bc8927fd692ac411b7423a87ffec532.tar.gz bootable_bootloader_goldelico_gta04-f3f91f886bc8927fd692ac411b7423a87ffec532.tar.bz2 |
at91sam9/at91cap: move common usb host initialisation to cpu
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'board/atmel')
-rw-r--r-- | board/atmel/at91sam9263ek/at91sam9263ek.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c index 1a3e39c..59ace17 100644 --- a/board/atmel/at91sam9263ek/at91sam9263ek.c +++ b/board/atmel/at91sam9263ek/at91sam9263ek.c @@ -154,15 +154,6 @@ static void at91sam9263ek_macb_hw_init(void) } #endif -#ifdef CONFIG_USB_OHCI_NEW -static void at91sam9263ek_uhp_hw_init(void) -{ - /* Enable VBus on UHP ports */ - at91_set_gpio_output(AT91_PIN_PA21, 0); - at91_set_gpio_output(AT91_PIN_PA24, 0); -} -#endif - #ifdef CONFIG_LCD vidinfo_t panel_info = { vl_col: 240, @@ -273,7 +264,7 @@ int board_init(void) at91sam9263ek_macb_hw_init(); #endif #ifdef CONFIG_USB_OHCI_NEW - at91sam9263ek_uhp_hw_init(); + at91_uhp_hw_init(); #endif #ifdef CONFIG_LCD at91sam9263ek_lcd_hw_init(); |