• Peter Stuge's avatar
    Fix broken flash chip base address logic · 816139e0
    Peter Stuge authored
    
    Elan SC520 requries us to deal with flash chip base addresses at locations
    other than top of 4GB. The logic for that was incorrectly triggered also when
    a board had more than one flash chip. This patch will honor flashbase only when
    probing for the first flash chip on the board, and look at top of 4GB for later
    chips.
    
    Corresponding to flashrom svn r415 and coreboot v2 svn r3932.
    Signed-off-by: default avatarPeter Stuge <peter@stuge.se>
    Acked-by: default avatarMyles Watson <mylesgw@gmail.com>
    816139e0
flashrom.c 18.9 KB