[U-Boot] Fix dev_print for when it is called from usb_stor_info (usb storage command)

Wolfgang Denk wd at denx.de
Tue Sep 9 16:05:42 CEST 2008


Dear =?iso-8859-1?q?N=EDcolas_Carneiro_Lebedenco?=,

In message <200809091013.47319.nicolas.lebedenco at tasksistemas.com.br> you wrote:
>
> Here it goes. I'm not sure if I got you right. Is it ok, now ?

As Markus mentioned, there were still a few formal issues. I cleaned
these up for you. 

> It fixes the output of the command usb storage. It was printing
> "Device 0: not available" because the IF_TYPE_USB was not included into the
> switch statement.
> 
> --- u-boot-1.3.4.original/disk/part.c	2008-08-12 11:08:38.000000000 -0300
> +++ u-boot-1.3.4/disk/part.c	2008-09-04 14:48:55.000000000 -0300

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Pull the wool over your own eyes!"                - J.R. "Bob" Dobbs


More information about the U-Boot mailing list