From bac2fceb67056eca6a6a3e85cac5aa90a73624b8 Mon Sep 17 00:00:00 2001 From: "Ye.Li" Date: Mon, 2 Mar 2015 21:06:23 +0800 Subject: MLK-10363-1 udc: Update i.MX udc driver to support MX7 Update driver codes and registers define for MX7. Implement udc callback function in MX7 arch. Signed-off-by: Ye.Li (cherry picked from commit e55c4f7bf5a66b34c2d01c42bac667cb3789b0c1) Signed-off-by: Peng Fan --- include/usb/imx_udc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/usb') diff --git a/include/usb/imx_udc.h b/include/usb/imx_udc.h index 51e33d7..1269497 100644 --- a/include/usb/imx_udc.h +++ b/include/usb/imx_udc.h @@ -16,6 +16,8 @@ || defined CONFIG_MX53 || defined CONFIG_MX6DL || defined CONFIG_MX6SL) #define USB_H3REGS_BASE (OTG_BASE_ADDR + 0x600) #define USB_OTHERREGS_BASE (OTG_BASE_ADDR + 0x800) +#elif (defined CONFIG_MX7) +#define USB_OTHERREGS_BASE (OTG_BASE_ADDR + 0x200) #else #define USB_OTHERREGS_BASE (OTG_BASE_ADDR + 0x600) #endif -- cgit v1.1