diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-01-28 19:02:36 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-01-28 19:02:36 +0000 |
commit | b1bd3e85baf5db97ef33789539558a2373c03fd4 (patch) | |
tree | c48d5335ffa08522805b9aa3e925b0ae9e971d1a /layout.c | |
parent | 823dc9d9bc1e9aa9e695a9765a8ae54862b913ee (diff) | |
download | flashrom-b1bd3e85baf5db97ef33789539558a2373c03fd4.tar.gz flashrom-b1bd3e85baf5db97ef33789539558a2373c03fd4.tar.bz2 flashrom-b1bd3e85baf5db97ef33789539558a2373c03fd4.zip |
The GIGABYTE GA-7ZM has a maximum decode size (parallel chips) of 512 KB
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: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to 'layout.c')
0 files changed, 0 insertions, 0 deletions