1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Karl Kurbjun 2010-04-25 16:10:19 +00:00
parent 44e51cef62
commit 967e16f7c9

View file

@ -34,17 +34,15 @@ void usb_init_device(void) {
* IO_EMIF_CS4CTRL1 = 0x66AB;
* 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 */