summaryrefslogtreecommitdiff
path: root/target/linux/at91-2.6/image/romboot/patches/005-erase-flash.patch
diff options
context:
space:
mode:
authorHamish Guthrie <hcg@openwrt.org>2007-06-05 03:39:52 +0000
committerHamish Guthrie <hcg@openwrt.org>2007-06-05 03:39:52 +0000
commit04479e30add673b0af0221596eaa6ede55ea9a21 (patch)
treebf5a99ae2c744550800d11d26bc04934f0c9a403 /target/linux/at91-2.6/image/romboot/patches/005-erase-flash.patch
parentc8f4767eaffb75a5344f806934af9e782395b681 (diff)
downloadmtk-20170518-04479e30add673b0af0221596eaa6ede55ea9a21.zip
mtk-20170518-04479e30add673b0af0221596eaa6ede55ea9a21.tar.gz
mtk-20170518-04479e30add673b0af0221596eaa6ede55ea9a21.tar.bz2
Removed romboot from tree - replaced by dfboot
SVN-Revision: 7500
Diffstat (limited to 'target/linux/at91-2.6/image/romboot/patches/005-erase-flash.patch')
-rw-r--r--target/linux/at91-2.6/image/romboot/patches/005-erase-flash.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/target/linux/at91-2.6/image/romboot/patches/005-erase-flash.patch b/target/linux/at91-2.6/image/romboot/patches/005-erase-flash.patch
deleted file mode 100644
index b0ddfe3..0000000
--- a/target/linux/at91-2.6/image/romboot/patches/005-erase-flash.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- romboot.old/main.cpp 2007-04-05 15:51:51.000000000 +0200
-+++ romboot/main.cpp 2007-04-10 10:33:10.000000000 +0200
-@@ -34,7 +34,7 @@
- #define DELAY_MAIN_FREQ 1000
- #define DISP_LINE_LEN 16
-
--#define COMPACT 1
-+//#define COMPACT 1
-
- //* prototypes
- extern void AT91F_DBGU_Printk(char *);
-@@ -65,6 +65,7 @@
- "3: Copy SD-Card\n\r"
- "4: Start U-BOOT\n\r"
- "5: Clear bootloder\n\r"
-+ "6: Erase entire flash\n\r"
- };
-
- //* Globales variables
-@@ -555,6 +556,17 @@
- command = 0;
- break;
-
-+ case '6':
-+ {
-+ int *i;
-+
-+ for(i = (int *)0x20000000; i < (int *)0x20840000; i++)
-+ *i = 0;
-+ }
-+ write_dataflash(0xc0000000, 0x20000000, 0x840000);
-+ command = 0;
-+ break;
-+
- default:
- command = 0;
- break;