Kim B. Heino aaad108b88 USB storage count
Here's another USB storage patch. Currently U-Boot handles storage
devices #0 - #4 as valid devices, even if there is none connected. This
patch fixes usb_stor_get_dev() to check detected device count instead
of MAX-define.

This is very important for ill behaving devices. usb_dev_desc[] can be
partially initialized if device probe fails.

After fixing get_dev() it was easy to fix "usb part" etc commands.
Previously it outputed "Unknown partition table" five times, now it's
"no USB devices available".

Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
2010-04-08 21:40:00 +02:00
..
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-04-01 11:28:32 +02:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:44:13 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-01-18 00:42:37 +01:00
2009-07-28 22:38:53 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:12 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2010-03-21 16:44:04 +01:00
2009-10-27 20:58:25 +01:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-07 09:15:26 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-10-24 22:44:18 +02:00
2009-06-12 20:47:16 +02:00
2009-06-12 20:47:16 +02:00
2009-11-23 00:06:13 +01:00
2009-07-23 21:33:02 +02:00
2009-07-20 23:54:57 +02:00
2009-07-09 13:04:25 +02:00
2009-06-12 20:47:16 +02:00
2010-04-08 21:40:00 +02:00
2009-06-12 20:47:16 +02:00
2010-03-12 23:06:04 +01:00
2009-06-12 20:47:16 +02:00
2003-06-27 21:31:46 +00:00
2010-03-12 23:06:04 +01:00
2009-12-02 22:53:51 +01:00
2008-10-18 21:54:03 +02:00
2009-07-16 22:23:53 +02:00
2010-01-18 00:23:00 +01:00
2010-01-18 00:24:21 +01:00
2010-03-24 11:23:15 +01:00
2010-01-18 00:44:13 +01:00
2002-08-17 09:36:01 +00:00
2009-10-13 21:13:55 -05:00
2008-10-18 21:54:03 +02:00
2010-04-08 21:40:00 +02:00