[flashrom] [PATCH] Clean up main loop

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Nov 17 09:27:35 CET 2009


On 31.10.2009 03:23, Carl-Daniel Hailfinger wrote:
> To prepare for libflashrom I wanted to make the main loop more readable
> and more correct and factor out stuff which can be useful in libflashrom.
>
> - Factor out printing of supported devices to print.c.
> - Adjust name of wiki printing function to fit the pattern.
> - Abort if the user specified --verify and --noverify at the same time.
> - Check for extra parameters which don't fit commandline syntax.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>   

Ack please?
I have a patch on top of this which checks if the chip was modified at
all in case of failing write/erase. Stefan, you already sent out a
preemptive ack for that check-if-anything-changed patch, but this needs
to be applied first.

Regards,
Carl-Daniel

-- 
Developer quote of the week: 
"We are juggling too many chainsaws and flaming arrows and tigers."





More information about the flashrom mailing list