Signed-off-by: Heiko Schocher <[email protected]>
Cc: Remy Bohmer <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
Cc: Igor Grinberg <[email protected]>
---
changes for v4:
- patch is new since v4, as Igor Grinberg suggested.
drivers/usb/musb/davinci.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c
index f56f2df..27dc4bc 100644
--- a/drivers/usb/musb/davinci.c
+++ b/drivers/usb/musb/davinci.c
@@ -78,6 +78,18 @@ static void phy_off(void)
writel(USBPHY_OSCPDWN | USBPHY_PHYPDWN, USBPHY_CTL_PADDR);
}
+#ifndef DAVINCI_DM365EVM
+__attribute__((weak))
+void enable_vbus(void)
+{
+ /*
+ * nothing to do, vbus is handled through the cpu.
+ * Define this function in board code, if it is
+ * different on your board.
+ */
+}
+#endif
+
/*
* This function performs Davinci platform specific initialization for usb0.
*/
--
1.7.6.4
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot