summaryrefslogtreecommitdiffstats
path: root/archtest.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2016-02-18 23:11:52 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2016-02-18 23:11:52 +0000
commit55bc12589f824c2e11672e9679dc4232f1dfcba2 (patch)
treeaaa7d008b3485b80c3c58197259d1bf573d92547 /archtest.c
parent0c96512e7a14b008a7834153330f59160c4137d4 (diff)
downloadflashrom-55bc12589f824c2e11672e9679dc4232f1dfcba2.zip
flashrom-55bc12589f824c2e11672e9679dc4232f1dfcba2.tar.gz
Fix chip size limiting in atapromise
The current code is checking model_id to remember if a chip has already been limited, but if flashchips.c contains two subsequent chips with different vendor_id but identical model_id the adjustment will not be done. Switch to checking the chip size instead. If a chip has multiple whole-chip erase functions, only one will be modified. Fix that. Tested-by: Joseph C. Lehner <joseph.c.lehner@gmail.com> Corresponding to flashrom svn r1930. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Urja Rannikko <urjaman@gmail.com>
Diffstat (limited to 'archtest.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud