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
This commit is contained in:
Peter Stuge 2009-01-15 02:13:18 +00:00
parent d860763e73
commit 884e1cbeeb
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ int program_opcodes(OPCODES * op)
opmenu[1] |= ((uint32_t) op->opcode[a].opcode) << ((a - 4) * 8); 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) { switch (flashbus) {
case BUS_TYPE_ICH7_SPI: case BUS_TYPE_ICH7_SPI:
case BUS_TYPE_VIA_SPI: case BUS_TYPE_VIA_SPI: