diff options
author | Ye.Li <B37916@freescale.com> | 2014-06-09 16:38:30 +0800 |
---|---|---|
committer | Ye.Li <B37916@freescale.com> | 2014-06-17 11:13:51 +0800 |
commit | 124d8f3fd7b751e1f46775de277bcbd87d7945a1 (patch) | |
tree | 1734f11016b705387e8b4882d813aee55bff0173 /arch | |
parent | 6f1773261ab094dd9d6872a9c079d8b1fbdfbe03 (diff) | |
download | u-boot-imx-124d8f3fd7b751e1f46775de277bcbd87d7945a1.zip u-boot-imx-124d8f3fd7b751e1f46775de277bcbd87d7945a1.tar.gz u-boot-imx-124d8f3fd7b751e1f46775de277bcbd87d7945a1.tar.bz2 |
ENGR00315894-44 imx6:USB: Update EHCI driver for OTG lines compatibility
To be compatible with more USB otg lines which has micro port B to
connect imx6 OTG port when imx6 working at host mode, remove the
checking for the OTG ID with the init type. Only use the init type
for the power and controller initialization.
Use same EHCI register base address for various imx6 platform.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/imx-regs.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 0485407..4cdf736 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -168,13 +168,8 @@ #define AIPS2_OFF_BASE_ADDR (ATZ2_BASE_ADDR + 0x80000) #define CAAM_BASE_ADDR (ATZ2_BASE_ADDR) #define ARM_BASE_ADDR (ATZ2_BASE_ADDR + 0x40000) -#ifdef CONFIG_MX6SL -#define USBO2H_PL301_IPS_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x0000) -#define USBO2H_USB_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x4000) -#else -#define USBOH3_PL301_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x0000) -#define USBOH3_USB_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x4000) -#endif +#define USB_PL301_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x0000) +#define USB_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x4000) #define ENET_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x8000) #ifdef CONFIG_MX6SL @@ -217,11 +212,7 @@ #define IP2APB_USBPHY1_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x78000) #define IP2APB_USBPHY2_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x7C000) -#ifdef CONFIG_MX6SL -#define OTG_BASE_ADDR USBO2H_USB_BASE_ADDR -#else -#define OTG_BASE_ADDR USBOH3_USB_BASE_ADDR -#endif +#define OTG_BASE_ADDR USB_BASE_ADDR #define CHIP_REV_1_0 0x10 #define CHIP_REV_1_1 0x11 |