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

Troy Kisky
2013-07-16T20:47:31Z

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)
--
1.8.1.2