summaryrefslogtreecommitdiff
path: root/include/usb/imx_udc.h
diff options
context:
space:
mode:
authorSammy He <r62914@freescale.com>2010-11-26 22:35:55 +0800
committerSammy He <r62914@freescale.com>2010-11-26 22:38:31 +0800
commitf9c90ac3717b2907487f559f5227a7dab4675063 (patch)
treef2d9624d7a2e7a9893e7653f4a83db459d71713d /include/usb/imx_udc.h
parent3a13770bd01f785ce7e587c398c47436b6fa703f (diff)
downloadu-boot-imx-f9c90ac3717b2907487f559f5227a7dab4675063.zip
u-boot-imx-f9c90ac3717b2907487f559f5227a7dab4675063.tar.gz
u-boot-imx-f9c90ac3717b2907487f559f5227a7dab4675063.tar.bz2
ENGR00134098-1 MX51: Update fastboot usb init seq
Update fastboot usb init seq, and use defined macro for coding. Signed-off-by: Sammy He <r62914@freescale.com>
Diffstat (limited to 'include/usb/imx_udc.h')
-rw-r--r--include/usb/imx_udc.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/usb/imx_udc.h b/include/usb/imx_udc.h
index bbc18cb..039d480 100644
--- a/include/usb/imx_udc.h
+++ b/include/usb/imx_udc.h
@@ -28,10 +28,6 @@
#ifndef _IMX_UDC_H_
#define _IMX_UDC_H_
-#define AIPS1_BASE_ADDR 0x73F00000
-
-#define OTG_BASE_ADDR (AIPS1_BASE_ADDR + 0x00080000)
-
#define USB_ID (OTG_BASE_ADDR + 0x0000)
#define USB_HWGENERAL (OTG_BASE_ADDR + 0x0004)
#define USB_HWHOST (OTG_BASE_ADDR + 0x0008)
@@ -57,7 +53,7 @@
#define USB_ULPI_VIEWPORT (OTG_BASE_ADDR + 0x0170)
#define USB_ENDPTNAK (OTG_BASE_ADDR + 0x0178)
#define USB_ENDPTNAKEN (OTG_BASE_ADDR + 0x017C)
-#define USB_PORTSC (OTG_BASE_ADDR + 0x0184)
+#define USB_PORTSC1 (OTG_BASE_ADDR + 0x0184)
#define USB_OTGSC (OTG_BASE_ADDR + 0x01A4)
#define USB_USBMODE (OTG_BASE_ADDR + 0x01A8)
#define USB_ENDPTSETUPSTAT (OTG_BASE_ADDR + 0x01AC)