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

David Hendricks dhendrix at google.com
Mon Aug 9 23:41:28 CEST 2010


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)

-- 
David Hendricks (dhendrix)
Systems Software Engineer, Google Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100809/87d367e9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_if_chip_is_found.patch
Type: text/x-patch
Size: 2298 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100809/87d367e9/attachment.patch>


More information about the coreboot mailing list