aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/core.h')
-rw-r--r--src/flash/nor/core.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h
index 60d4483..338363e 100644
--- a/src/flash/nor/core.h
+++ b/src/flash/nor/core.h
@@ -90,6 +90,9 @@ struct flash_bank {
int chip_width; /**< Width of the chip in bytes (1,2,4 bytes) */
int bus_width; /**< Maximum bus width, in bytes (1,2,4 bytes) */
+ /** Erased value. Defaults to 0xFF. */
+ uint8_t erased_value;
+
/** Default padded value used, normally this matches the flash
* erased value. Defaults to 0xFF. */
uint8_t default_padded_value;