[coreboot] r3862 - trunk/util/flashrom

svn at coreboot.org svn at coreboot.org
Thu Jan 15 03:13:18 CET 2009


Author: stuge
Date: 2009-01-15 03:13:18 +0100 (Thu, 15 Jan 2009)
New Revision: 3862

Modified:
   trunk/util/flashrom/ichspi.c
Log:
flashrom: Add ICH opcode debugging.

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	2009-01-15 00:48:24 UTC (rev 3861)
+++ trunk/util/flashrom/ichspi.c	2009-01-15 02:13:18 UTC (rev 3862)
@@ -313,6 +313,7 @@
 		opmenu[1] |= ((uint32_t) op->opcode[a].opcode) << ((a - 4) * 8);
 	}
 
+	printf_debug("\n%s: preop=%04x optype=%04x opmenu=%08x%08x\n", __func__, preop, optype, opmenu[0], opmenu[1]);
 	switch (flashbus) {
 	case BUS_TYPE_ICH7_SPI:
 	case BUS_TYPE_VIA_SPI:





More information about the coreboot mailing list