David Hendricks uploaded patch set #2 to this change.

View Change

WIP: dediprog: implement updated command spec

This is a work-in-progress to update the command spec for Dediprog
SF100/SF600 programmers. For now the new bulk read and write command
packet format is hacked in and will be cleaned up once things are
working and I get clarification about which firmware versions implement
them.

The latest spec (FW >= 7.2.30?) updates read and write packets.
- Read packets have two more bytes:
11: B4Addr: address len (3 or 4)
12: Dummy cycle /2

- Write packets have four more bytes:
11, 12: 16 HSBs of page size
13, 14: 16 LSBs of page size

Note, however, that 11 and 12 appear to be the LSBs rather than HSBs,
with byte 11 being the lowest order byte.

The patch seems to work in this state. Now we just need to clean it up
and see what the cut-off is between firmware versions for compatibility.

Change-Id: I1a53c143948ec40d40433621891a2871d8815f2f
Signed-off-by: David Hendricks <dhendricks@fb.com>
---
M dediprog.c
1 file changed, 14 insertions(+), 5 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/36/23836/2

To view, visit change 23836. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I1a53c143948ec40d40433621891a2871d8815f2f
Gerrit-Change-Number: 23836
Gerrit-PatchSet: 2
Gerrit-Owner: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: David Hendricks <david.hendricks@gmail.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>