projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31bbb3c
)
cfi: fix GDB keep alive bug
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Wed, 5 May 2010 14:18:50 +0000
(16:18 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 8 Jun 2010 08:48:46 +0000
(10:48 +0200)
Long running CFI writes could cause GDB timeout.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/flash/nor/cfi.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/cfi.c
b/src/flash/nor/cfi.c
index 8c1aacad263798e11179fb8790ccb276f731ed15..f0ab332fbd08eb4682caf10e5801482f0172c320 100644
(file)
--- a/
src/flash/nor/cfi.c
+++ b/
src/flash/nor/cfi.c
@@
-1232,6
+1232,8
@@
static int cfi_intel_write_block(struct flash_bank *bank, uint8_t *buffer, uint3
buffer += thisrun_count;
address += thisrun_count;
count -= thisrun_count;
+
+ keep_alive();
}
/* free up resources */