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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h
index 07b095f9..726dd957 100644
--- a/src/flash/nor/core.h
+++ b/src/flash/nor/core.h
@@ -87,6 +87,10 @@ 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) */
+ /** Default padded value used, normally this matches the flash
+ * erased value. Defaults to 0xFF. */
+ uint8_t default_padded_value;
+
/**
* The number of sectors on this chip. This value will
* be set intially to 0, and the flash driver must set this to