arm: baltos: change USB ports functions
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 9 Jul 2015 11:34:24 +0000 (13:34 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 9 Jul 2015 16:35:09 +0000 (12:35 -0400)
Baltos has USB0 connected to a USB hub and thus is host-only. USB1
is connected to microUSB connector and thus should use OTG mode.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
include/configs/baltos.h

index fb7818a6b84e80b1764973c3ffd6acb0c92f9ff6..cce5e4f28571f7dfb3caf18106b369ce693f6461 100644 (file)
 #define CONFIG_USB_GADGET_VBUS_DRAW    2
 #define CONFIG_MUSB_HOST
 #define CONFIG_AM335X_USB0
-#define CONFIG_AM335X_USB0_MODE        MUSB_PERIPHERAL
+#define CONFIG_AM335X_USB0_MODE        MUSB_HOST
 #define CONFIG_AM335X_USB1
-#define CONFIG_AM335X_USB1_MODE MUSB_HOST
+#define CONFIG_AM335X_USB1_MODE MUSB_OTG
 
 #ifdef CONFIG_MUSB_HOST
 #define CONFIG_CMD_USB