summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index 5ce7e87d4..32477008a 100644
--- a/flash.h
+++ b/flash.h
@@ -145,6 +145,10 @@ struct flashchip {
int (*unlock) (struct flashchip *flash);
int (*write) (struct flashchip *flash, uint8_t *buf, int start, int len);
int (*read) (struct flashchip *flash, uint8_t *buf, int start, int len);
+ struct {
+ uint16_t min;
+ uint16_t max;
+ } voltage;
/* Some flash devices have an additional register space. */
chipaddr virtual_memory;