summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/flash.h b/flash.h
index 027392f9e..506dd9db1 100644
--- a/flash.h
+++ b/flash.h
@@ -149,8 +149,10 @@ enum chipbustype {
*/
#define NUM_ERASEFUNCTIONS 5
-#define FEATURE_REGISTERMAP (1 << 0)
-#define FEATURE_BYTEWRITES (1 << 1)
+#define FEATURE_REGISTERMAP (1 << 0)
+#define FEATURE_BYTEWRITES (1 << 1)
+#define FEATURE_ADDR_FULL (0 << 2)
+#define FEATURE_ADDR_MASK (3 << 2)
struct flashchip {
const char *vendor;