[flashrom] [commit] r1350 - trunk

repository service svn at flashrom.org
Sat Jun 25 19:04:27 CEST 2011


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 <stefan.tauner at student.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>

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.




More information about the flashrom mailing list