[U-Boot] [PATCH] 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 --- 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

On Thu, Jul 09, 2015 at 01:34:24PM +0200, Yegor Yefremov wrote:
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
Applied to u-boot/master, thanks!
participants (2)
-
Tom Rini
-
Yegor Yefremov