helper/command: change prototype of command_print/command_print_sameline
[fw/openocd] / src / flash / common.h
index ce26fccd75b39632e9d457ec42128b562a05e221..4244f1360647c684aae958ee17c45213c53127b8 100644 (file)
@@ -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 */