summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/omap3.c
diff options
context:
space:
mode:
authorAjay Kumar Gupta <ajay.gupta@ti.com>2010-06-10 11:20:50 +0530
committerRemy Bohmer <linux@bohmer.net>2010-06-30 21:37:37 +0200
commit944a4894c047f9fc17d21f1e4ca92d5909b8405b (patch)
treebdc9fb36b9d2c96e963d56c9bb11fb8d2f5a4b5b /drivers/usb/musb/omap3.c
parentb5abf644aa6d1d11023df449a251d0f296c45b89 (diff)
downloadu-boot-imx-944a4894c047f9fc17d21f1e4ca92d5909b8405b.zip
u-boot-imx-944a4894c047f9fc17d21f1e4ca92d5909b8405b.tar.gz
u-boot-imx-944a4894c047f9fc17d21f1e4ca92d5909b8405b.tar.bz2
musb: Program extvbus for OMAP3EVM Rev >= E
OMAP3EVM Rev >=E uses external Vbus supply so setting 'extvbus' to '1' for OMAP3EVM Rev >=E runtime based on EVM revision. CC: Remy Bohmer <linux@bohmer.net> Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Diffstat (limited to 'drivers/usb/musb/omap3.c')
-rw-r--r--drivers/usb/musb/omap3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/musb/omap3.c b/drivers/usb/musb/omap3.c
index 785629c..a983552 100644
--- a/drivers/usb/musb/omap3.c
+++ b/drivers/usb/musb/omap3.c
@@ -119,6 +119,9 @@ int musb_platform_init(void)
stdby &= ~OMAP3_OTG_FORCESTDBY_STANDBY;
writel(stdby, &otg->forcestdby);
+#ifdef CONFIG_OMAP3_EVM
+ musb_cfg.extvbus = omap3_evm_need_extvbus();
+#endif
platform_needs_initialization = 0;
}