summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2016-01-23 16:16:49 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2016-01-23 16:16:49 +0000
commit124b7837d9c46cbc4c7c444f5d63a96d0d3b3f86 (patch)
tree2d62c23191801afaecbf98925effb8b8c7a44ab6 /programmer.h
parent41a940c641a7ddba77d04c93e01280d20a3a354a (diff)
downloadflashrom-124b7837d9c46cbc4c7c444f5d63a96d0d3b3f86.zip
flashrom-124b7837d9c46cbc4c7c444f5d63a96d0d3b3f86.tar.gz
Add a bunch of new/tested stuff and various small changes 24
Tested mainboards: OK: - ASRock G31M-GS Binary file (standard input) matches Corresponding to flashrom svn r1917.
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/programmer.h b/programmer.h
index ff7cf5f..e3ffa9f 100644
--- a/programmer.h
+++ b/programmer.h
@@ -592,8 +592,8 @@ enum spi_controller {
#define MAX_DATA_WRITE_UNLIMITED 256
struct spi_master {
enum spi_controller type;
- unsigned int max_data_read;
- unsigned int max_data_write;
+ unsigned int max_data_read; // (Ideally,) maximum data read size in one go (excluding opcode+address).
+ unsigned int max_data_write; // (Ideally,) maximum data write size in one go (excluding opcode+address).
int (*command)(struct flashctx *flash, unsigned int writecnt, unsigned int readcnt,
const unsigned char *writearr, unsigned char *readarr);
int (*multicommand)(struct flashctx *flash, struct spi_command *cmds);
OpenPOWER on IntegriCloud