diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2016-02-18 23:11:52 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2016-02-18 23:11:52 +0000 |
commit | 1c2d23a22dd27b4c4b890fca1fcea6e0a6bd4de2 (patch) | |
tree | aaa7d008b3485b80c3c58197259d1bf573d92547 /Makefile | |
parent | d99a2bd049264cc327c6ef772d1ae9c11697a29e (diff) | |
download | ast2050-flashrom-1c2d23a22dd27b4c4b890fca1fcea6e0a6bd4de2.zip ast2050-flashrom-1c2d23a22dd27b4c4b890fca1fcea6e0a6bd4de2.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.
Corresponding to flashrom svn r1930.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Tested-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
Acked-by: Urja Rannikko <urjaman@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions