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 feac98e9f..4d1d6b640 100644
--- a/flash.h
+++ b/flash.h
@@ -144,6 +144,9 @@ enum chipbustype {
*/
#define NUM_ERASEFUNCTIONS 5
+#define FEATURE_REGISTERMAP (1 << 0)
+#define FEATURE_BYTEWRITES (1 << 1)
+
struct flashchip {
const char *vendor;
const char *name;
@@ -160,6 +163,7 @@ struct flashchip {
int total_size;
int page_size;
+ int feature_bits;
/*
* Indicate if flashrom has been tested with this flash chip and if