• Claus Gindhart's avatar
    82802ab: touch only blocks that need updating · ef300238
    Claus Gindhart authored
    
    Flash pages, which where excluded from updating using the exclude or the
    layout option, as well as areas, whose flash contents already contain
    the desired data, will be skipped. These ensures absolute data security
    of critical areas (BIOS boot block), e.g. against a sudden power off or
    a CPU hangup during flashing. As a nice side effect, it speeds up the
    flash process, if the BIOS to be flashed is very similar to the version
    in flash.
    
    Corresponding to flashrom svn r217 and coreboot v2 svn r3260.
    Signed-off-by: default avatarClaus Gindhart <claus.gindhart@kontron.com>
    Acked-by: default avatarStefan Reinauer <stepan@coresystems.de>
    ef300238
82802ab.c 5.52 KB