summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
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