• Andrew Jeffery's avatar
    flash: Introduce flash_validate() · cb93504e
    Andrew Jeffery authored
    
    
    Clean up the protocol_negotiate_version() mess. The existing approach
    came about due to viewing the vpnor implementation as an edge case in
    its own right. The code becomes much neater if we consider all backends
    as equal and afford them the callbacks necessary for correct behaviour.
    
    Change-Id: Ifaeee9da459818cf22b2f137ddc5b8d0356b9be9
    Signed-off-by: Andrew Jeffery's avatarAndrew Jeffery <andrew@aj.id.au>
    cb93504e
flash.c 8.44 KB