summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-10 11:09:26 +0000
committerhcg <hcg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-10 11:09:26 +0000
commitd67a66fc18a66864408e963e2908a6c9e0902ae8 (patch)
tree999998eaa5dde12eef975f438fe36e7e001b1a97 /target
parent510e7a28621ec654ea104e817c772f01f5364406 (diff)
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
Diffstat (limited to 'target')
-rw-r--r--target/linux/at91-2.6/image/romboot/patches/006-erase-fixup.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/at91-2.6/image/romboot/patches/006-erase-fixup.patch b/target/linux/at91-2.6/image/romboot/patches/006-erase-fixup.patch
new file mode 100644
index 000000000..26ac51f8b
--- /dev/null
+++ b/target/linux/at91-2.6/image/romboot/patches/006-erase-fixup.patch
@@ -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;