X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fcommon.h;h=4244f1360647c684aae958ee17c45213c53127b8;hp=ce26fccd75b39632e9d457ec42128b562a05e221;hb=4732471b2e122357403fbcaa53fb712db0d8235e;hpb=d4b7cbff88bb5eb14fececdbd8e2a0b3e58ce6e0;ds=sidebyside diff --git a/src/flash/common.h b/src/flash/common.h index ce26fccd75..4244f13606 100644 --- a/src/flash/common.h +++ b/src/flash/common.h @@ -44,5 +44,6 @@ bool flash_driver_name_matches(const char *name, const char *expected); #define ERROR_FLASH_SECTOR_NOT_ERASED (-906) #define ERROR_FLASH_BANK_NOT_PROBED (-907) #define ERROR_FLASH_OPER_UNSUPPORTED (-908) +#define ERROR_FLASH_PROTECTED (-909) #endif /* OPENOCD_FLASH_COMMON_H */