summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-12 17:00:56 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:14:02 +0800
commit8937308dce9c6fa907aafeae3a11bee2ada1db2a (patch)
tree271e828fc20bebc61cc150f270b3fb5e9a30d697 /drivers/usb
parentd959297e4f358d13bbeb76fd1e503014624f731e (diff)
downloadu-boot-imx-8937308dce9c6fa907aafeae3a11bee2ada1db2a.zip
u-boot-imx-8937308dce9c6fa907aafeae3a11bee2ada1db2a.tar.gz
u-boot-imx-8937308dce9c6fa907aafeae3a11bee2ada1db2a.tar.bz2
ENGR00315894-68 iMX6SX:SABRESD: Add Android features support
Add BSP codes to mx6sxsabresd to support android uboot features: fastboot, booti and recovery Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/gadget/imx_udc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/imx_udc.c b/drivers/usb/gadget/imx_udc.c
index 35fbd14..9cdf3c8 100644
--- a/drivers/usb/gadget/imx_udc.c
+++ b/drivers/usb/gadget/imx_udc.c
@@ -583,7 +583,7 @@ static void usb_set_mode_device(void)
;
DBG("DOORE RESET END\n");
-#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SL)
+#if defined(CONFIG_MX6)
reset_usb_phy1();
#endif
DBG("init core to device mode\n");
@@ -983,7 +983,7 @@ int mxc_udc_init(void)
udc_pins_setting();
set_usb_phy1_clk();
enable_usboh3_clk(1);
-#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SL)
+#if defined(CONFIG_MX6)
udc_disable_over_current();
#endif
enable_usb_phy1_clk(1);