[U-Boot-Users] [PATCH] Add flash programming counter]

Stefan Roese
2008-03-06T13:33:59Z

On Thursday 06 March 2008, Wolfgang Denk wrote:
> In message <200803060720.06034.sr@denx.de> you wrote:
> > I do like such a progress output. But printing each KB seems a little
> > too much from my point of view. Could even slow down the programming
> > because of the slow serial output on some systems.
>
> I agree that a counter is overkill.

You misunderstood me. I like this kind of output (kB or % programmed). It's
just that the York's version printed one line per kByte. This seems too much.
My version is simpler and prints only 1 line per 16 kByte. We can change to
32k or even more.

> I suggest we continue to do what we've been doing in other flash
> access routines (like many of the earlier custom drivers), i. e.
> print out dots, approximately one per second.

Fine with me too. Even though I would prefer to switch this progress output on
all FLASH access routines to something like % too. This way we have an idea
how long this operation it is going to last.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================