diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2009-01-19 13:41:25 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2009-01-19 13:41:25 +0000 |
commit | 616c98b38f6ddac0ac3dde8ec0fa248f835717e2 (patch) | |
tree | 5eeeabb85fbefa162a438edca88611c1bc688269 /firmware/export/imx31l.h | |
parent | cef6399c4c3bcaa35733bdab8b9016b66b71a6f0 (diff) | |
download | rockbox-616c98b38f6ddac0ac3dde8ec0fa248f835717e2.tar.gz rockbox-616c98b38f6ddac0ac3dde8ec0fa248f835717e2.zip |
USB detection changes. c200/e200: Consider USB to be powered when charger is plugged but detect USB connection by bus reset. When received, disconnect and restart the driver fully enabled. imx31: Fix hack used to make initial connect succeeded-- set PHY type before initial reset. General: Move some target code out of usb-drv-arc.c and implement it in respective usb sources and CPU headers so things stay clean.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19797 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/imx31l.h')
-rwxr-xr-x | firmware/export/imx31l.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/imx31l.h b/firmware/export/imx31l.h index b572c788a9..b55a56b105 100755 --- a/firmware/export/imx31l.h +++ b/firmware/export/imx31l.h | |||
@@ -36,7 +36,11 @@ | |||
36 | #define FRAME_SIZE (240*320*2) | 36 | #define FRAME_SIZE (240*320*2) |
37 | 37 | ||
38 | #define DEVBSS_ATTR __attribute__((section(".devbss"),nocommon)) | 38 | #define DEVBSS_ATTR __attribute__((section(".devbss"),nocommon)) |
39 | #define QHARRAY_ATTR __attribute__((section(".qharray"),nocommon)) | 39 | /* USBOTG */ |
40 | #define USB_QHARRAY_ATTR __attribute__((section(".qharray"),nocommon,aligned(2048))) | ||
41 | #define USB_NUM_ENDPOINTS 8 | ||
42 | #define USB_DEVBSS_ATTR DEVBSS_ATTR | ||
43 | #define USB_BASE OTG_BASE_ADDR | ||
40 | 44 | ||
41 | /* | 45 | /* |
42 | * AIPS 1 | 46 | * AIPS 1 |
@@ -1580,6 +1584,4 @@ | |||
1580 | #define UART_FIFO_CTRL 0x881 | 1584 | #define UART_FIFO_CTRL 0x881 |
1581 | #define TIMEOUT 1000 | 1585 | #define TIMEOUT 1000 |
1582 | 1586 | ||
1583 | #define USB_BASE OTG_BASE_ADDR | ||
1584 | |||
1585 | #endif /* __IMX31L_H__ */ | 1587 | #endif /* __IMX31L_H__ */ |