aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2007-04-10 11:09:26 +0000
committerHamish Guthrie <hcg@openwrt.org>2007-04-10 11:09:26 +0000
commit9073ef0f246931787482aba1fe6aa2041816ce57 (patch)
tree4aa673f37c964b578271e536ebb5c07ba1af46c4
parent910a7efc8f4ca8d72e8be29d31e8a6755ccfff81 (diff)
downloadupstream-9073ef0f246931787482aba1fe6aa2041816ce57.tar.gz
upstream-9073ef0f246931787482aba1fe6aa2041816ce57.tar.bz2
upstream-9073ef0f246931787482aba1fe6aa2041816ce57.zip
Changed erase routine to erase flash to 0xff instead of 0x00
SVN-Revision: 6922
-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 0000000000..26ac51f8b2
--- /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;