mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
Fix multiple detection of the same chip
r1293 introduced a bug which caused probing to loop at the first found chip. Corresponding to flashrom svn r1296. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Idwer Vollering <vidwer@gmail.com>
This commit is contained in:
parent
dec9cec86e
commit
064bbc9f37
@ -368,6 +368,7 @@ int cli_classic(int argc, char *argv[])
|
||||
if (startchip == -1)
|
||||
break;
|
||||
chipcount++;
|
||||
startchip++;
|
||||
}
|
||||
|
||||
if (chipcount > 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user