Kyle Moffett 5dd95cf93d usb_storage: Fix EHCI "out of buffer pointers" with CD-ROM
When performing large bulk reads from a CD or DVD using the U-Boot
usb_storage driver, it generates requests of up to 20 blocks at a time.

With a standard 512-byte block size, that is 10240 bytes and within the
limit of U-Boot's EHCI driver (maximum 5 pages at 4k per page).

Unfortunately CD-ROM media has a 2048-byte blocksize, resulting in a
maximum transfer size of 40960 bytes, which does not fit.

Since the EHCI specification is impossibly obtuse and far beyond my
comprehension, I chose to dynamically compute the limit based on the
blocksize.

Signed-off-by: Kyle Moffett <Kyle.D.Moffett@boeing.com>
2012-01-05 20:10:38 +01:00
..
2011-04-13 15:56:39 -04:00
2010-11-28 21:58:24 +01:00
2011-10-22 01:22:21 +02:00
2011-07-28 16:32:50 +02:00
2011-10-26 21:33:42 +02:00
2010-07-24 20:54:46 +02:00
2011-08-04 23:34:02 +02:00
2011-04-13 15:57:00 -04:00
2011-04-08 00:44:27 -04:00
2011-10-27 21:56:30 +02:00
2011-07-28 16:41:06 +02:00
2011-01-09 18:06:50 +01:00
2011-04-29 03:20:01 -05:00
2011-07-15 20:29:22 -05:00
2010-12-17 14:32:12 -06:00
2010-07-16 10:55:09 -05:00
2011-07-26 14:10:14 +02:00
2011-07-26 14:10:14 +02:00
2011-10-09 23:24:48 +02:00
2011-10-01 23:34:21 +02:00
2011-07-28 17:22:53 +02:00
2011-10-22 01:13:35 +02:00
2011-12-07 08:41:22 +01:00
2011-02-02 22:36:10 +01:00
2010-01-18 00:23:00 +01:00
2011-10-22 01:13:35 +02:00
2011-10-17 22:25:35 +02:00
2011-12-10 17:54:04 -05:00
2011-12-05 23:26:40 +01:00
2011-12-05 22:48:10 +01:00
2011-09-04 23:27:52 +02:00
2011-10-26 21:33:42 +02:00
2011-12-11 14:40:38 +01:00