From 884e1cbeebeefa2d38f95339545781a8c503a46d Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Thu, 15 Jan 2009 02:13:18 +0000 Subject: flashrom: Add ICH opcode debugging. Signed-off-by: Peter Stuge Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3862 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/ichspi.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util/flashrom') 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: -- cgit v1.2.3