mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
Fix dev_print when called from usb_stor_info (usb storage command)
Fix output of the usb storage command. It was printing "Device 0: not available" because IF_TYPE_USB was not included into the switch statement. Signed-off-by: Nicolas Lebedenco <nicolas.lebedenco@tasksistemas.com.br>
This commit is contained in:
parent
a4f243452c
commit
47bebe34ca
1 changed files with 6 additions and 0 deletions
|
@ -124,6 +124,12 @@ void dev_print (block_dev_desc_t *dev_desc)
|
|||
dev_desc->revision,
|
||||
dev_desc->product);
|
||||
break;
|
||||
case IF_TYPE_USB:
|
||||
printf ("Vendor: %s Rev: %s Prod: %s\n",
|
||||
dev_desc->vendor,
|
||||
dev_desc->revision,
|
||||
dev_desc->product);
|
||||
break;
|
||||
case IF_TYPE_UNKNOWN:
|
||||
default:
|
||||
puts ("not available\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue