summaryrefslogtreecommitdiff
path: root/include/configs/baltos.h
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2015-07-09 13:34:24 +0200
committerTom Rini <trini@konsulko.com>2015-07-09 12:35:09 -0400
commit5e5055f0a31f02966e6fba0c11ab7548b1c20850 (patch)
tree37e1ac4f7f6b60c0d50302f4fc869bf476c1b792 /include/configs/baltos.h
parent40d79e483c359b8af4a379317a579c9b353dc821 (diff)
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. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Diffstat (limited to 'include/configs/baltos.h')
-rw-r--r--include/configs/baltos.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/baltos.h b/include/configs/baltos.h
index fb7818a6b8..cce5e4f285 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