diff options
author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-25 18:41:50 +0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-29 17:57:00 +0800 |
commit | f5d0383f915bd4d4d211d9958d7819b284276483 (patch) | |
tree | d6a8a9f9bd60d92a654070f9f134c7a39ce1ff21 /drivers | |
parent | b704d5b48d36d7bfcd4d46c21c8daf7f89352204 (diff) | |
download | u-boot-imx-f5d0383f915bd4d4d211d9958d7819b284276483.zip u-boot-imx-f5d0383f915bd4d4d211d9958d7819b284276483.tar.gz u-boot-imx-f5d0383f915bd4d4d211d9958d7819b284276483.tar.bz2 |
ENGR00210918-1 android: add mx6sl android support
- add android build config for mx6sl_arm2 board.
- add gpio support for mx6sl
- add boot image support
- add android recovery support
- add fastboot support, but fastboot cannot transfer file.
Signed-off-by Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpio/mxc_gpio.c | 3 | ||||
-rw-r--r-- | drivers/usb/gadget/imx_udc.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpio/mxc_gpio.c b/drivers/gpio/mxc_gpio.c index dde079f..9ad2df0 100644 --- a/drivers/gpio/mxc_gpio.c +++ b/drivers/gpio/mxc_gpio.c @@ -40,7 +40,8 @@ static unsigned long gpio_ports[] = { [0] = GPIO1_BASE_ADDR, [1] = GPIO2_BASE_ADDR, [2] = GPIO3_BASE_ADDR, -#if defined(CONFIG_MX51) || defined(CONFIG_MX53) || defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) +#if defined(CONFIG_MX51) || defined(CONFIG_MX53) || defined(CONFIG_MX6Q) \ + || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SL) [3] = GPIO4_BASE_ADDR, #if !defined(CONFIG_MX51) [4] = GPIO5_BASE_ADDR, diff --git a/drivers/usb/gadget/imx_udc.c b/drivers/usb/gadget/imx_udc.c index 7745760..c3796d3 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"); -#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) +#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SL) 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); -#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) +#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SL) udc_disable_over_current(); #endif enable_usb_phy1_clk(1); |