1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-06 00:00:42 +03:00

Changed erase routine to erase flash to 0xff instead of 0x00

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6922 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hcg 2007-04-10 11:09:26 +00:00
parent 510e7a2862
commit d67a66fc18

View File

@ -0,0 +1,11 @@
--- romboot.old/main.cpp 2007-04-10 12:35:02.000000000 +0200
+++ romboot/main.cpp 2007-04-10 12:35:15.000000000 +0200
@@ -561,7 +561,7 @@
int *i;
for(i = (int *)0x20000000; i < (int *)0x20840000; i++)
- *i = 0;
+ *i = 0xffffffff;
}
write_dataflash(0xc0000000, 0x20000000, 0x840000);
command = 0;