summaryrefslogtreecommitdiff
path: root/util/flashrom
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-01-15 02:13:18 +0000
committerPeter Stuge <peter@stuge.se>2009-01-15 02:13:18 +0000
commit884e1cbeebeefa2d38f95339545781a8c503a46d (patch)
treebbb999aded4060e5059b9b9d1fe69a9589edb4fa /util/flashrom
parentd860763e731e56aa57d6689a85ac020f9ac59de6 (diff)
flashrom: Add ICH opcode debugging.
Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3862 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom')
-rw-r--r--util/flashrom/ichspi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/flashrom/ichspi.c b/util/flashrom/ichspi.c
index b60bc0e767..bad2e2781f 100644
--- a/util/flashrom/ichspi.c
+++ b/util/flashrom/ichspi.c
@@ -313,6 +313,7 @@ int program_opcodes(OPCODES * op)
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: