X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fcore.h;h=726dd957ececc37802d2f072d793aee3654d63fe;hp=07b095f9ba57055c9425f72d117a4a35b97b527f;hb=1f3ca0b5b81d9f9e4565cf177797a17ad37ef2c3;hpb=53ca124a754fd0d2bb18fb26ac69c5654c81117d diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h index 07b095f9ba..726dd957ec 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