summaryrefslogtreecommitdiffstats
path: root/board/atmel
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-21 21:08:00 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-03-22 13:22:11 +0100
commitf3f91f886bc8927fd692ac411b7423a87ffec532 (patch)
tree1a0bfc378886154435956f87809b898915396267 /board/atmel
parenta484b00b86e72ac6da6ee4fce13dbc6b256672fe (diff)
downloadtalos-obmc-uboot-f3f91f886bc8927fd692ac411b7423a87ffec532.tar.gz
talos-obmc-uboot-f3f91f886bc8927fd692ac411b7423a87ffec532.zip
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.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/board/atmel/at91sam9263ek/at91sam9263ek.c b/board/atmel/at91sam9263ek/at91sam9263ek.c
index 1a3e39cf31..59ace177cb 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();
OpenPOWER on IntegriCloud