summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2010-04-25 16:10:19 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2010-04-25 16:10:19 +0000
commit967e16f7c92cddcf75a0edb859faeb2eb362d97c (patch)
tree6006995b74a33fa2e58cfff66ae0ebb323ffc35c /firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
parent44e51cef62cb0074140701773ff9dbc7135412cf (diff)
M:Robe 500 USB: Go back to OF timings for upcoming clock changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25714 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
index ff5de05e6e..5a60a24843 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/usb-mr500.c
@@ -32,19 +32,17 @@ void usb_init_device(void) {
/* The following EMIF timing values are from the OF:
* IO_EMIF_CS4CTRL1 = 0x66AB;
- * IO_EMIF_CS4CTRL2 = 0x4220;
+ * IO_EMIF_CS4CTRL2 = 0x4220;
*
- * These EMIF timing values are more agressive, but appear to work as long
- * as USB_TRANS_BLOCK is defined in the USB driver:
- * IO_EMIF_CS4CTRL1 = 0x2245;
- * IO_EMIF_CS4CTRL2 = 0x4110;
+ * More agressive numbers may be possible, but it depends on the clocking
+ * setup.
*
* When USB_TRANS_BLOCK is not defined the USB driver does not work unless
* the values from the OF are used.
*/
- IO_EMIF_CS4CTRL1 = 0x2245;
- IO_EMIF_CS4CTRL2 = 0x4110;
+ IO_EMIF_CS4CTRL1 = 0x66AB;
+ IO_EMIF_CS4CTRL2 = 0x4220;
/* Setup the m66591 reset signal */
/* 2: output, non-inverted, no-irq, falling edge, no-chat, normal */