Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/48600 )
Change subject: Add 4bm switch to tracemode console ......................................................................
Add 4bm switch to tracemode console
Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org Change-Id: I4bd71b1bdb71c03eb1c55e0ebea9b5df664dcf9b --- M trace.c 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/00/48600/1
diff --git a/trace.c b/trace.c index 7fe6ab8..3ff7904 100644 --- a/trace.c +++ b/trace.c @@ -353,6 +353,16 @@ /* new command */ cmdid = cmd;
+ /* Special commands */ + switch (spi_command) { + case 0xb7: + address_mode = 4; + break; + case 0xe9: + address_mode = 3; + break; + } + /* set up address if used by this command */ if (!spi_cmd_vals->uses_address) { j = 1; /* skip command byte */