LC15+Pyra: fix reset GPIO for HSIC3 client
authorH. Nikolaus Schaller <hns@goldelico.com>
Wed, 3 Feb 2016 19:40:13 +0000 (20:40 +0100)
committernotaz <notasas@gmail.com>
Sun, 14 Aug 2016 13:43:31 +0000 (16:43 +0300)
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
board/ti/omap5_uevm/evm.c
include/configs/letux_cortex15.h

index 1c13124..bd93d82 100644 (file)
@@ -253,12 +253,15 @@ int ehci_hcd_stop(void)
 
 void usb_hub_reset_devices(int port)
 {
+printf("usb_hub_reset_devices(%d)\n", port);
+#if defined(CONFIG_OMAP_EHCI_PHY3_RESET_GPIO)
        /* The LAN9730 needs to be reset after the port power has been set. */
        if (port == 3) {
                gpio_direction_output(CONFIG_OMAP_EHCI_PHY3_RESET_GPIO, 0);
                udelay(10);
                gpio_direction_output(CONFIG_OMAP_EHCI_PHY3_RESET_GPIO, 1);
        }
+#endif
 }
 #endif
 
index ed61128..010b695 100644 (file)
 
 #include <configs/omap5_uevm.h>
 
+#undef CONFIG_OMAP_EHCI_PHY3_RESET_GPIO        /* gpio 79 used differently */
+#undef CONFIG_USB_HOST_ETHER
+#undef CONFIG_USB_ETHER_SMSC95XX
+
 /* Letux Cortex 15 has no tca6424 */
 #undef CONFIG_TCA642X
 #undef CONFIG_SYS_I2C_TCA642X_BUS_NUM