Add ICH opcode debugging

Corresponding to flashrom svn r383 and coreboot v2 svn r3862.

Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
diff --git a/ichspi.c b/ichspi.c
index b60bc0e..bad2e27 100644
--- a/ichspi.c
+++ b/ichspi.c
@@ -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: