Skip to contentSkip to conversation

arm: baltos: change USB ports functions

PATCH New Yegor Yefremov 2 participants 2 messages Jul 9, 2015 – Jul 10, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: baltos: change USB ports functions

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.

---
 include/configs/baltos.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/configs/baltos.h +2 -2
index fb7818a..cce5e4f 100644
@@ -282,9 +282,9 @@
 #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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 arm: baltos: change USB ports functions

Quoted 4 lines · Yegor Yefremov

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150710/fe95f523/attachment.sig>