[U-Boot] [PATCH] arm: baltos: change USB ports functions
Yegor Yefremov
yegorslists at googlemail.com
Thu Jul 9 13:34:24 CEST 2015
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 at googlemail.com>
---
include/configs/baltos.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/configs/baltos.h b/include/configs/baltos.h
index fb7818a..cce5e4f 100644
--- a/include/configs/baltos.h
+++ b/include/configs/baltos.h
@@ -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
--
2.1.4
More information about the U-Boot
mailing list