[flashrom] [commit] r967 - trunk

repository service svn at flashrom.org
Mon Mar 22 08:03:26 CET 2010


Author: snelson
Date: Mon Mar 22 08:03:26 2010
New Revision: 967
URL: http://flashrom.org/trac/coreboot/changeset/967

Log:
in unlock_28f004s5, variable 'i' needs to be int...
Signed-off-by: Sean Nelson <audiohacked at gmail.com>
Acked-by: Sean Nelson <audiohacked at gmail.com>

Modified:
   trunk/82802ab.c

Modified: trunk/82802ab.c
==============================================================================
--- trunk/82802ab.c	Mon Mar 22 07:57:02 2010	(r966)
+++ trunk/82802ab.c	Mon Mar 22 08:03:26 2010	(r967)
@@ -209,7 +209,8 @@
 int unlock_28f004s5(struct flashchip *flash)
 {
 	chipaddr bios = flash->virtual_memory;
-	uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0, i;
+	uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0;
+	int i;
 
 	/* Clear status register */
 	chip_writeb(0x50, bios);




More information about the flashrom mailing list