X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fcommon.h;h=4244f1360647c684aae958ee17c45213c53127b8;hb=refs%2Fchanges%2F50%2F3550%2F2;hp=ce26fccd75b39632e9d457ec42128b562a05e221;hpb=25d7ba19c9e70cf5b912f660cf6aaa93d9ca120f;p=openocd.git 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 */