[coreboot] [PATCH][superiotool] Quit probe_idregs_* early if chip_found is set

Uwe Hermann uwe at hermann-uwe.de
Tue Aug 10 01:13:20 CEST 2010


On Mon, Aug 09, 2010 at 02:41:28PM -0700, David Hendricks wrote:
> Some chips do not require enter/exit sequences. This causes them to be
> detected and printed multiple times in probe_idregs_* functions where a
> simple series of enter --> probe/print --> exit calls are made.
> 
> This patch adds a simple check after each set of those calls to make the
> functions quit after a chip is found.
> 
> Signed-off by: David Hendricks (dhendrix at google.com)

Thanks, looks good. r5689.


Uwe.
-- 
http://hermann-uwe.de     | http://sigrok.org
http://randomprojects.org | http://unmaintained-free-software.org




More information about the coreboot mailing list