[coreboot] r3417 - trunk/util/flashrom

svn at coreboot.org svn at coreboot.org
Mon Jul 7 07:14:07 CEST 2008


Author: stuge
Date: 2008-07-07 07:14:06 +0200 (Mon, 07 Jul 2008)
New Revision: 3417

Modified:
   trunk/util/flashrom/ichspi.c
Log:
flashrom: Trivial indent fix in ichspi.c

Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Peter Stuge <peter at stuge.se>


Modified: trunk/util/flashrom/ichspi.c
===================================================================
--- trunk/util/flashrom/ichspi.c	2008-07-06 23:04:01 UTC (rev 3416)
+++ trunk/util/flashrom/ichspi.c	2008-07-07 05:14:06 UTC (rev 3417)
@@ -573,9 +573,9 @@
 			break;
 		}
 
-	if (flashbus == BUS_TYPE_VIA_SPI) {
-		maxdata = 16;
-	}
+		if (flashbus == BUS_TYPE_VIA_SPI)
+			maxdata = 16;
+
 		for (j = 0; j < erase_size / page_size; j++) {
 			ich_spi_write_page(flash, (void *)(buf + (i * erase_size) + (j * page_size)),
 					   (i * erase_size) + (j * page_size), maxdata);





More information about the coreboot mailing list