summaryrefslogtreecommitdiff
path: root/utils/jz4740_tools/jz4740_usbtool.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-30 10:19:33 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-07-30 10:19:33 +0000
commit0a35976a61d42c1d85178418ebdca42b811c9b61 (patch)
tree2cc46bfafdefedcfc1271549fbe7855fa37a2ddc /utils/jz4740_tools/jz4740_usbtool.c
parent0a09022a39b901792e84dbbd7ffe215bc00b0bf9 (diff)
downloadrockbox-0a35976a61d42c1d85178418ebdca42b811c9b61.tar.gz
rockbox-0a35976a61d42c1d85178418ebdca42b811c9b61.zip
Don't erase people's NAND flash...
(aka fix usbtool) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18150 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/jz4740_tools/jz4740_usbtool.c')
-rw-r--r--utils/jz4740_tools/jz4740_usbtool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/jz4740_tools/jz4740_usbtool.c b/utils/jz4740_tools/jz4740_usbtool.c
index 165aafb19d..fe8771ae12 100644
--- a/utils/jz4740_tools/jz4740_usbtool.c
+++ b/utils/jz4740_tools/jz4740_usbtool.c
@@ -489,13 +489,13 @@ int mimic_of(usb_dev_handle *dh)
489 _SLEEP(2); 489 _SLEEP(2);
490 _GET_CPU; 490 _GET_CPU;
491 _SET_ADDR(0x80E0 << 16); 491 _SET_ADDR(0x80E0 << 16);
492 _SEND_FILE("10.bin"); 492 _SEND_FILE("onda.bin");
493 _GET_CPU; 493 _GET_CPU;
494 _VERIFY_DATA("10.bin", 0x80E0 << 16); 494 _VERIFY_DATA("onda.bin", 0x80E0 << 16);
495 _GET_CPU; 495 _GET_CPU;
496 _FLUSH; 496 _FLUSH;
497 _GET_CPU; 497 _GET_CPU;
498 _STAGE2(0x80e00008); 498 _STAGE2(0x80E00008);
499 fprintf(stderr, "[INFO] Done!\n"); 499 fprintf(stderr, "[INFO] Done!\n");
500 return 0; 500 return 0;
501} 501}