• Uwe Hermann's avatar
    The GIGABYTE GA-7ZM has a maximum decode size (parallel chips) of 512 KB · b1bd3e85
    Uwe Hermann authored
    
    Add this information to the new field in the board-enable table. We match the
    board via two sets of PCI IDs. However, as we don't need a board-enable
    function for this board (it works out of the box; well, at least if you remove
    the JP9 jumper on the board), change the code to allow NULL as value for
    the board-enable function. There will likely be more boards in the future where
    we want to record a maximum decode size but which don't need a board-enable.
    
    This is hardware-tested on the GIGABYTE GA-7ZM by successfully writing a 512KB
    image of random bytes to a chip in this board.
    
    Corresponding to flashrom svn r885.
    Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
    Acked-by: default avatarSean Nelson <audiohacked@gmail.com>
    b1bd3e85
board_enable.c 41.6 KB