[PATCH] cfi_flash: show progress while during erase

Holger Schurig holgerschurig at gmail.com
Mon May 26 12:04:37 PDT 2014


> -       ret = cfi_erase(info, instr->len, instr->addr);
> +       ret = cfi_erase(info, instr->len, instr->addr, 1);

Hmm, why this parameter?  Basically, three things would be sane:

* never output progress (no verbose parameter needed, obviously)
* always output progress (again no parameter needed)
* make it a command line option (parameter needed)

What you have here (in the current form) is a needless parameter to cfi_erase().



More information about the barebox mailing list