notaz.gp2x.de
/
flashkit-mdc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
563a41a
)
don't try to reset flash unconditionally
author
notaz
<notasas@gmail.com>
Mon, 21 Dec 2020 16:52:28 +0000
(18:52 +0200)
committer
notaz
<notasas@gmail.com>
Mon, 21 Dec 2020 16:52:28 +0000
(18:52 +0200)
because we can read/write SRAM now
flashkit.c
patch
|
blob
|
blame
|
history
diff --git
a/flashkit.c
b/flashkit.c
index
023d2d2
..
a2ebdb8
100644
(file)
--- a/
flashkit.c
+++ b/
flashkit.c
@@
-819,7
+819,9
@@
int main(int argc, char *argv[])
printf("flashkit id: %02x\n", id[0]);
set_delay(fd, 1);
- io->write_bus(fd, 0, 0xf0); // flash reset
+
+ if (do_info || size_e || f_w)
+ io->write_bus(fd, 0, 0xf0); // flash reset
if (do_info || size_e)
read_info(fd);