diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2015-10-16 02:16:20 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2015-10-16 02:16:20 +0000 |
commit | ccce6a39e8ed7d17e0ebc0127138197a829a5db9 (patch) | |
tree | 5093cc7a7f36228da0f1a2d8eba2e9c46239226a /flash.h | |
parent | 7da2902d0b379b820830888530a9dd2ca8cf660f (diff) | |
download | flashrom-ccce6a39e8ed7d17e0ebc0127138197a829a5db9.tar.gz |
Add support for 128 bytes write granularity.
Some chips such as the ENE KB9012 internal flash require a write
granularity of 128 bytes.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Nico Huber <nico.h@gmx.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1897 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'flash.h')
-rw-r--r-- | flash.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -85,6 +85,7 @@ enum write_granularity { write_gran_1bit, /* Each bit can be cleared individually. */ write_gran_1byte, /* A byte can be written once. Further writes to an already written byte cause * its contents to be either undefined or to stay unchanged. */ + write_gran_128bytes, /* If less than 128 bytes are written, the unwritten bytes are undefined. */ write_gran_264bytes, /* If less than 264 bytes are written, the unwritten bytes are undefined. */ write_gran_512bytes, /* If less than 512 bytes are written, the unwritten bytes are undefined. */ write_gran_528bytes, /* If less than 528 bytes are written, the unwritten bytes are undefined. */ |