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

@ -32,19 +32,17 @@ void usb_init_device(void) {
/* The following EMIF timing values are from the OF: /* The following EMIF timing values are from the OF:
* IO_EMIF_CS4CTRL1 = 0x66AB; * 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 * More agressive numbers may be possible, but it depends on the clocking
* as USB_TRANS_BLOCK is defined in the USB driver: * setup.
* IO_EMIF_CS4CTRL1 = 0x2245;
* IO_EMIF_CS4CTRL2 = 0x4110;
* *
* When USB_TRANS_BLOCK is not defined the USB driver does not work unless * When USB_TRANS_BLOCK is not defined the USB driver does not work unless
* the values from the OF are used. * the values from the OF are used.
*/ */
IO_EMIF_CS4CTRL1 = 0x2245; IO_EMIF_CS4CTRL1 = 0x66AB;
IO_EMIF_CS4CTRL2 = 0x4110; IO_EMIF_CS4CTRL2 = 0x4220;
/* Setup the m66591 reset signal */ /* Setup the m66591 reset signal */
/* 2: output, non-inverted, no-irq, falling edge, no-chat, normal */ /* 2: output, non-inverted, no-irq, falling edge, no-chat, normal */