X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fcore.h;h=726dd957ececc37802d2f072d793aee3654d63fe;hp=3b6b2b5f512230e16bfa16361b6f816fc878ab3c;hb=1f3ca0b5b81d9f9e4565cf177797a17ad37ef2c3;hpb=f9ea791e9b89bed91200f27202f9a95dd4e8640b diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h index 3b6b2b5f51..726dd957ec 100644 --- a/src/flash/nor/core.h +++ b/src/flash/nor/core.h @@ -18,7 +18,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * ***************************************************************************/ #ifndef 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