diff options
author | Ye.Li <B37916@freescale.com> | 2014-09-15 17:23:14 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-09-29 10:33:27 +0200 |
commit | 5546ad0734bb5eed2b3cd6333dbcec51ae45185a (patch) | |
tree | 0668447f9f47dcbc6f8bbbdd7f936fc17b6b4f4c /arch/arm/include/asm/arch-mx6/imx-regs.h | |
parent | 9293d7fd502ce29302fadb8b4ccb9231ec0bcc66 (diff) | |
download | u-boot-imx-5546ad0734bb5eed2b3cd6333dbcec51ae45185a.zip u-boot-imx-5546ad0734bb5eed2b3cd6333dbcec51ae45185a.tar.gz u-boot-imx-5546ad0734bb5eed2b3cd6333dbcec51ae45185a.tar.bz2 |
usb: ehci-mx6: Rename the USB register base address
The mx6sl/mx6sx has 2 OTG and 1 host. So they have name
"USBO2H_USB_BASE_ADDR" in imx-regs.h. The driver hard codes
the USB base address name to "USBOH3", which causes the driver
failed to build for mx6sl/mx6sx.
This patch uniform the address name to "USB_BASE_ADDR" for all
mx6 series.
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/imx-regs.h')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/imx-regs.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 22614fc..a159309 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -215,13 +215,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 |