Changed erase routine to erase flash to 0xff instead of 0x00
[openwrt.git] / target / linux / at91-2.6 / image / romboot / patches / 006-erase-fixup.patch
1 --- romboot.old/main.cpp 2007-04-10 12:35:02.000000000 +0200
2 +++ romboot/main.cpp 2007-04-10 12:35:15.000000000 +0200
3 @@ -561,7 +561,7 @@
4 int *i;
5
6 for(i = (int *)0x20000000; i < (int *)0x20840000; i++)
7 - *i = 0;
8 + *i = 0xffffffff;
9 }
10 write_dataflash(0xc0000000, 0x20000000, 0x840000);
11 command = 0;
This page took 0.04692 seconds and 5 git commands to generate.