Removed unnecessary programming boundary.
This commit is contained in:
parent
08e13f7093
commit
7e04f8b776
4
devcmd.c
4
devcmd.c
|
@ -462,10 +462,6 @@ static int prog_flush(struct prog_data *prog)
|
||||||
while (prog->len) {
|
while (prog->len) {
|
||||||
int wlen = prog->len;
|
int wlen = prog->len;
|
||||||
|
|
||||||
/* Writing across this address seems to cause a hang */
|
|
||||||
if (prog->addr < 0x999a && wlen + prog->addr > 0x999a)
|
|
||||||
wlen = 0x999a - prog->addr;
|
|
||||||
|
|
||||||
if (!prog->have_erased) {
|
if (!prog->have_erased) {
|
||||||
printc("Erasing...\n");
|
printc("Erasing...\n");
|
||||||
if (device_default->ctl(device_default,
|
if (device_default->ctl(device_default,
|
||||||
|
|
Loading…
Reference in New Issue