[flashrom] [PATCH 1/3] fix probe_flash to report new values set by probing functions

Stefan Tauner stefan.tauner at student.tuwien.ac.at
Fri Jun 24 16:53:24 CEST 2011


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>
---
 flashrom.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flashrom.c b/flashrom.c
index cfee1a1..6979d84 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.
-- 
1.7.1





More information about the flashrom mailing list