Signed-off-by: Michael Schwingen <[email protected]>
---
src/flash/nor/cfi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/flash/nor/cfi.c b/src/flash/nor/cfi.c
index 5a35aae..f25f46d 100644
--- a/src/flash/nor/cfi.c
+++ b/src/flash/nor/cfi.c
@@ -1163,8 +1163,8 @@ static int cfi_protect(struct flash_bank *bank, int set,
int first, int last)
return cfi_intel_protect(bank, set, first, last);
break;
default:
- LOG_ERROR("protect: cfi primary command set %i
unsupported", cfi_info->pri_id);
- return ERROR_FAIL;
+ LOG_WARNING("protect: cfi primary command set %i
unsupported", cfi_info->pri_id);
+ return ERROR_OK;
}
}
--
1.7.2.3
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development