[flashrom] [commit] r966 - trunk

repository service svn at flashrom.org
Mon Mar 22 07:57:03 CET 2010


Author: snelson
Date: Mon Mar 22 07:57:02 2010
New Revision: 966
URL: http://flashrom.org/trac/coreboot/changeset/966

Log:
fix a few typos from the last commit.
Signed-off-by: Sean Nelson <audiohacked at gmail.com>
Acked-by: Sean Nelson <audiohacked at gmail.com>

Modified:
   trunk/82802ab.c
   trunk/chipdrivers.h

Modified: trunk/82802ab.c
==============================================================================
--- trunk/82802ab.c	Mon Mar 22 05:39:31 2010	(r965)
+++ trunk/82802ab.c	Mon Mar 22 07:57:02 2010	(r966)
@@ -206,10 +206,10 @@
 	return 0;
 }
 
-int unlock_28f004s5(struct flashrom *flash)
+int unlock_28f004s5(struct flashchip *flash)
 {
 	chipaddr bios = flash->virtual_memory;
-	uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0;
+	uint8_t mcfg, bcfg, need_unlock = 0, can_unlock = 0, i;
 
 	/* Clear status register */
 	chip_writeb(0x50, bios);

Modified: trunk/chipdrivers.h
==============================================================================
--- trunk/chipdrivers.h	Mon Mar 22 05:39:31 2010	(r965)
+++ trunk/chipdrivers.h	Mon Mar 22 07:57:02 2010	(r966)
@@ -62,6 +62,7 @@
 void print_status_82802ab(uint8_t status);
 void write_page_82802ab(chipaddr bios, uint8_t *src, chipaddr dst, int page_size);
 int unlock_82802ab(struct flashchip *flash);
+int unlock_28f004s5(struct flashchip *flash);
 
 /* jedec.c */
 uint8_t oddparity(uint8_t val);




More information about the flashrom mailing list