• Peter Stuge's avatar
    Only find "unknown .. SPI chip" if no other chip was found · 483b8f0c
    Peter Stuge authored
    
    This removes the false positive matches we've been seeing, and also removes
    the true positive match in case there is more than one flash chip and the 2nd
    or 3rd are unknown - but I think that case is uncommon enough to warrant the
    improvement in the common case. Use flashrom -frc forced read if you have the
    uncommon case, and/or please add the flash chip to the flashchips array.
    
    Corresponding to flashrom svn r313 and coreboot v2 svn r3562.
    Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
    Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
    483b8f0c
flashrom.c 16.6 KB