summaryrefslogtreecommitdiffstats
path: root/coreboot_tables.h
diff options
context:
space:
mode:
authorDavid Hendricks <david.hendricks@gmail.com>2018-02-21 07:34:34 -0800
committerDavid Hendricks <david.hendricks@gmail.com>2018-03-28 22:07:50 +0000
commitf73f8a732f8fd37a6a7dfef4acb7f7c416832ab2 (patch)
tree4d65a6d09dd2a30bb24ba82aad1747c9c0a79e9b /coreboot_tables.h
parentc699f5cde113377099d038234c1e46e7b928336f (diff)
downloadflashrom-f73f8a732f8fd37a6a7dfef4acb7f7c416832ab2.tar.gz
flashrom-f73f8a732f8fd37a6a7dfef4acb7f7c416832ab2.tar.bz2
flashrom-f73f8a732f8fd37a6a7dfef4acb7f7c416832ab2.zip
dediprog: implement command spec for firmware >= 7.2.30
This adds support for the latest command spec for Dediprog SF100/SF600 programmers. Since we now have more than two protocols to deal with the is_new_prot() function is replaced with protocol() which returns an enum specifying which protocol is supported. The latest spec (FW >= 7.2.30) updates read and write packets. It's been tested on an SF600 using firmware 7.2.21 and SF600Plus using FW 7.2.30. The latest command protocol has a few small but important changes: - 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 (The spec seems to be mistaken, though, as 11 and 12 are actually LSBs instead of HSBs) Change-Id: I1a53c143948ec40d40433621891a2871d8815f2f Signed-off-by: David Hendricks <dhendricks@fb.com> Reviewed-on: https://review.coreboot.org/23836 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'coreboot_tables.h')
0 files changed, 0 insertions, 0 deletions