Author: stefanct
Date: Sat Jun 25 19:04:26 2011
New Revision: 1350
URL: http://flashrom.org/trac/flashrom/changeset/1350

Log:
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.

Signed-off-by: Stefan Tauner <[email protected]>
Acked-by: Carl-Daniel Hailfinger <[email protected]>

Modified:
   trunk/flashrom.c

Modified: trunk/flashrom.c
==============================================================================
--- trunk/flashrom.c    Sun Jun 19 19:27:57 2011        (r1349)
+++ trunk/flashrom.c    Sat Jun 25 19:04:26 2011        (r1350)
@@ -1188,8 +1188,8 @@
 
        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.

_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to