[flashrom] [PATCH] Change programmer selection in cli and generic code

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Mon Sep 5 08:14:19 CEST 2011


On Mon, 05 Sep 2011 01:15:35 +0200
Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> wrote:

> > i would
> > remove the monster if and check for a compiler flag DEFAULT_PROGRAMMER
> > or so first. if that's not defined, look for internal and dummy as
> > fall-back then and just bail out with an error similar to the one below
> > (but with mentioning DEFAULT_PROGRAMMER).
> >     
> 
> That would make test compiles/runs with various programmers
> enabled/disabled a real nightmare for me. And yes, I test all
> compilation/run of all 2048 possible CONFIG_* combinations from time to
> time. After all, I don't want to ship a potentially broken flashrom.

why? when you set the enabled programmers with a script you could also
set the default programmer to one of them programmatically.
will look at the second revision later.

-- 
Kind regards/Mit freundlichen Grüßen, Stefan Tauner




More information about the flashrom mailing list