diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-06-25 17:04:26 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-06-25 17:04:26 +0000 |
commit | 198f2770cc621e8761ab66df2f6f1429bb20d778 (patch) | |
tree | c3fa4c1566728e845b114fd62702752573f72193 /flashrom.c | |
parent | 7c612f9fb746fbf80009912b6133af3ca07e4bd7 (diff) | |
download | flashrom-198f2770cc621e8761ab66df2f6f1429bb20d778.tar.gz flashrom-198f2770cc621e8761ab66df2f6f1429bb20d778.tar.bz2 flashrom-198f2770cc621e8761ab66df2f6f1429bb20d778.zip |
Fix probe_flash to report new values set by probing functions
This is needed if the probing function changes its fill_flash parameter
like in the pattern used to support Intel Hardware Sequencing and SFDP.
Corresponding to flashrom svn r1350.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashrom.c')
-rw-r--r-- | flashrom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flashrom.c b/flashrom.c index cfee1a114..6979d84c0 100644 --- a/flashrom.c +++ b/flashrom.c @@ -1188,8 +1188,8 @@ notfound: msg_cinfo("%s chip \"%s %s\" (%d kB, %s) %s.\n", force ? "Assuming" : "Found", - flash->vendor, flash->name, flash->total_size, - flashbuses_to_text(flash->bustype), location); + fill_flash->vendor, fill_flash->name, fill_flash->total_size, + flashbuses_to_text(fill_flash->bustype), location); /* Flash registers will not be mapped if the chip was forced. Lock info * may be stored in registers, so avoid lock info printing. |