aboutsummaryrefslogtreecommitdiff
path: root/src/flash/common.h
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2017-06-13 11:52:50 -0700
committerTim Newsome <tim@sifive.com>2017-06-13 11:52:50 -0700
commit845c2f6b692736d3f6ee113908b98cb60ec60119 (patch)
tree32b9315ff67d97c397184dfe98b7523fed95dcb1 /src/flash/common.h
parent7af58e6283c8e7d350b6b55c93a1d326326ed831 (diff)
parent1025be363e2bf42f1613083223a2322cc3a9bd4c (diff)
downloadriscv-openocd-845c2f6b692736d3f6ee113908b98cb60ec60119.zip
riscv-openocd-845c2f6b692736d3f6ee113908b98cb60ec60119.tar.gz
riscv-openocd-845c2f6b692736d3f6ee113908b98cb60ec60119.tar.bz2
Merge branch 'remotes/openocd/master' into riscv64
Merged 1025be363e2bf42f1613083223a2322cc3a9bd4c Conflicts: src/flash/nor/Makefile.am src/rtos/Makefile.am src/rtos/rtos.c src/target/Makefile.am src/target/target.c src/target/target_type.h Doesn't build yet, but I fixed the conflicts that git pointed out.
Diffstat (limited to 'src/flash/common.h')
-rw-r--r--src/flash/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/common.h b/src/flash/common.h
index ce26fcc..4244f13 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 */