Dear Mike Frysinger,

In message <[email protected]> you wrote:
> At the moment, the default SPI flash subsystem is quite terse.  Errors and
> successes both result in a generic message.  So move the useful errors and
> useful successes to printf output by default.
...
> -     debug("SF: Detected %s with page size %lu, total %u bytes\n",
> +     printf("SF: Detected %s with page size %lu, total %u bytes\n",
>                       params->name, page_size, asf->flash.size);

When we touch this code, we might as well make the output more
readable and print the size in easier to parse units using
print_size() - see Timur's patches from 13 Ap 2010,
http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/77288

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: [email protected]
It is your destiny.                                     - Darth Vader
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to