From 016d4e16f8154c747cc795de52f2b99ba3dac45b Mon Sep 17 00:00:00 2001 From: Peter Stuge <peter@stuge.se> Date: Thu, 15 Jan 2009 02:13:18 +0000 Subject: [PATCH] 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> --- ichspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ichspi.c b/ichspi.c index b60bc0e..bad2e27 100644 --- a/ichspi.c +++ b/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: -- GitLab