diff options
author | Nico Huber <nico.h@gmx.de> | 2018-09-30 01:18:43 +0200 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2019-04-15 18:44:22 +0000 |
commit | 93db6e16895287b7ac3a8a8f7f4a4f176547b7ed (patch) | |
tree | 5f7d8dcfce6b7bb62829251b381526fbdc2f5497 /spi.h | |
parent | cb97368328bc68698ab7e58a6d692635dfb1b1c7 (diff) | |
download | flashrom-93db6e16895287b7ac3a8a8f7f4a4f176547b7ed.tar.gz flashrom-93db6e16895287b7ac3a8a8f7f4a4f176547b7ed.tar.bz2 flashrom-93db6e16895287b7ac3a8a8f7f4a4f176547b7ed.zip |
dediprog: Enable 4BA support for SF600, protocol V2
The only combination we could successfully test so far is the SF600 with
protocol version V2 (firmware 7.2.21) and native 4BA commands. Let's
enable that at least.
Change-Id: I665d0806aec469a3509620a760815861fbe22841
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/28804
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'spi.h')
-rw-r--r-- | spi.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -151,6 +151,9 @@ #define JEDEC_READ_OUTSIZE 0x04 /* JEDEC_READ_INSIZE : any length */ +/* Read the memory (with delay after sending address) */ +#define JEDEC_READ_FAST 0x0b + /* Write memory byte */ #define JEDEC_BYTE_PROGRAM 0x02 #define JEDEC_BYTE_PROGRAM_OUTSIZE 0x05 @@ -166,6 +169,10 @@ From ANY mode (3-bytes or 4-bytes) it works with 4-byte address */ #define JEDEC_READ_4BA 0x13 +/* Read the memory with 4-byte address (and delay after sending address) + From ANY mode (3-bytes or 4-bytes) it works with 4-byte address */ +#define JEDEC_READ_4BA_FAST 0x0c + /* Write memory byte with 4-byte address From ANY mode (3-bytes or 4-bytes) it works with 4-byte address */ #define JEDEC_BYTE_PROGRAM_4BA 0x12 |