[U-Boot] [PATCH RFC V1 03/18] mx6: define OTG_BASE_ADDR

Marek Vasut
2013-07-17T03:05:47Z

Dear Troy Kisky,

Please add commit messages. Btw I removed this horrible macro in my patchset.

> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
> ---
> arch/arm/include/asm/arch-mx6/imx-regs.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h
> b/arch/arm/include/asm/arch-mx6/imx-regs.h index 03abb2a..30a9687 100644
> --- a/arch/arm/include/asm/arch-mx6/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
> @@ -181,9 +181,11 @@
> #ifdef CONFIG_MX6SL
> #define USBO2H_PL301_IPS_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x0000)
> #define USBO2H_USB_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x4000)
> +#define OTG_BASE_ADDR USBO2H_USB_BASE_ADDR
> #else
> #define USBOH3_PL301_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x0000)
> #define USBOH3_USB_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x4000)
> +#define OTG_BASE_ADDR USBOH3_USB_BASE_ADDR
> #endif
>
> #define ENET_BASE_ADDR (AIPS2_OFF_BASE_ADDR + 0x8000)

Best regards,
Marek Vasut