diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-09 16:13:54 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-09 16:23:46 +0800 |
commit | fef250219ce2a99f10f38b9018796fe2610cd3f9 (patch) | |
tree | f428241ba7b1c427e589d193271ddbc3e2b4e5ce | |
parent | 84525c282bd9c5558063060ad9f87f029124dd11 (diff) | |
download | u-boot-imx-fef250219ce2a99f10f38b9018796fe2610cd3f9.zip u-boot-imx-fef250219ce2a99f10f38b9018796fe2610cd3f9.tar.gz u-boot-imx-fef250219ce2a99f10f38b9018796fe2610cd3f9.tar.bz2 |
ENGR00182426 MX6DL: add fastboot support for MX6DL.
fix mx6dl usb init issue, due to leak of reset phy,
it was only called on MX6Q.
Signed-off-by: Shi Make <make.shi@freescale.com>
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
-rw-r--r-- | drivers/usb/gadget/imx_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/imx_udc.c b/drivers/usb/gadget/imx_udc.c index 67011bd..b3f4008 100644 --- a/drivers/usb/gadget/imx_udc.c +++ b/drivers/usb/gadget/imx_udc.c @@ -464,7 +464,7 @@ static void usb_set_mode_device(void) ; DBG("DOORE RESET END\n"); -#ifdef CONFIG_MX6Q +#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) reset_usb_phy1(); #endif DBG("init core to device mode\n"); @@ -812,7 +812,7 @@ int mxc_udc_init(void) set_usboh3_clk(); set_usb_phy1_clk(); enable_usboh3_clk(1); -#ifdef CONFIG_MX6Q +#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) udc_disable_over_current(); #endif enable_usb_phy1_clk(1); |