X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Fcore.h;h=a8edb2dc9b53b139f473172eea12d2371feb4367;hp=f6bd0cf1aea34b6b7e92db56ad7bcf96d57d625a;hb=07da3b3913dcb6b65564f4fe67c2f26032f180c0;hpb=076802606a46dc2fe03946ab686467593e35a3d8 diff --git a/src/flash/nor/core.h b/src/flash/nor/core.h index f6bd0cf1ae..a8edb2dc9b 100644 --- a/src/flash/nor/core.h +++ b/src/flash/nor/core.h @@ -45,9 +45,12 @@ struct flash_sector { uint32_t size; /** * Indication of erasure status: 0 = not erased, 1 = erased, - * other = unknown. Set by @c flash_driver_s::erase_check. + * other = unknown. Set by @c flash_driver_s::erase_check only. * - * Flag is not used in protection block + * This information must be considered stale immediately. + * Don't set it in flash_driver_s::erase or a device mass_erase + * Don't clear it in flash_driver_s::write + * The flag is not used in a protection block */ int is_erased; /**