diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-06-04 09:18:42 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-06-04 09:18:42 +0000 |
commit | 61933601bbcce64aa3c648ca6506dda39d2670f1 (patch) | |
tree | 00a1c0803addcbf16a3823a722a9d493f2410ef2 /src/flash/stm32x.c | |
parent | a37e3836e22a12a73063bb739002337de9c0c4e7 (diff) | |
download | riscv-openocd-61933601bbcce64aa3c648ca6506dda39d2670f1.zip riscv-openocd-61933601bbcce64aa3c648ca6506dda39d2670f1.tar.gz riscv-openocd-61933601bbcce64aa3c648ca6506dda39d2670f1.tar.bz2 |
- luminary, stm32 and str7 flash driver error cleanup
git-svn-id: svn://svn.berlios.de/openocd/trunk@700 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash/stm32x.c')
-rw-r--r-- | src/flash/stm32x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c index dcd59d2..d6abed8 100644 --- a/src/flash/stm32x.c +++ b/src/flash/stm32x.c @@ -483,6 +483,7 @@ int stm32x_write_block(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 co stm32x_info->write_algorithm->address + (sizeof(stm32x_flash_write_code) - 10), 10000, &armv7m_info)) != ERROR_OK) { LOG_ERROR("error executing stm32x flash write algorithm"); + retval = ERROR_FLASH_OPERATION_FAILED; break; } |