Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/36804 )
Change subject: WIP: Add more commands to trace mode ......................................................................
WIP: Add more commands to trace mode
This is untested, unfinished work. DO NOT COMMIT
Change-Id: I9c478475fe7553ab7e116890461ebd3f72cd9872 Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org --- M trace.c 1 file changed, 17 insertions(+), 8 deletions(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/04/36804/1
diff --git a/trace.c b/trace.c index 50c2fc6..2fc3d44 100644 --- a/trace.c +++ b/trace.c @@ -115,14 +115,23 @@
struct spi_cmd_values spi_command_list[] = { /* name cmd, addr, pad */ - {"write status register", 0x01, 0, 0}, - {"page program", 0x02, 1, 0}, - {"read", 0x03, 1, 0}, - {"write disable", 0x04, 0, 0}, - {"read status register", 0x05, 0, 0}, - {"write enable", 0x06, 0, 0}, - {"fast read", 0x0b, 1, 1}, - {"EM100 specific", 0x11, 0, 0}, + {"No Operation", 0x00, 0, 0}, + {"Write Status Register", 0x01, 0, 0}, + {"Page Program", 0x02, 1, 0}, + {"Normal Read", 0x03, 1, 0}, + {"Write Disable", 0x04, 0, 0}, + {"Read Status Register", 0x05, 0, 0}, + {"Write Enable", 0x06, 0, 0}, + {"Fast Read", 0x0b, 1, 1}, + {"4-Byte Fast Read", 0x0c, 1, 1}, + {"DTR/DDR Fast Read", 0x0d, 1, 1}, + {"4-Byte DTR/DDR Fast Read", 0x0e, 1, 1}, + {"Write Status Register 3", 0x11, 0, 0}, + {"4-Byte Page Program", 0x12, 1, 0}, + {"4-Byte Read", 0x13, 1, 0}, + {"Autoboot Register Read", 0x14, 0, 0}, + {"Autoboot Register Write", 0x15, 0, 0}, + {"fast dual read", 0x3b, 1, 2}, {"chip erase", 0x60, 0, 0}, {"read JEDEC ID", 0x9f, 0, 0},