summaryrefslogtreecommitdiffstats
path: root/openwrt/target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-22 15:30:07 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-04-22 15:30:07 +0000
commit4bc2787c6709cd0b47c73d3b9ba1903e12747a68 (patch)
treec1899ebc8e7838d38096151d7bda6314691256b4 /openwrt/target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch
parentee873a47d6d9898fa27c5c1120e7c5ecb592f62f (diff)
Add watchdog driver, prevents device from rebooting. Kernel now fully usable
Add patches for various image formats Add map for MTX-1 board (same as pb1500) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3702 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch')
-rw-r--r--openwrt/target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/openwrt/target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch b/openwrt/target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch
new file mode 100644
index 000000000..9a6b05b14
--- /dev/null
+++ b/openwrt/target/linux/au1000-2.6/patches/002-mtx1_flash_map.patch
@@ -0,0 +1,16 @@
+diff -urN linux-2.6.16.7/drivers/mtd/maps/alchemy-flash.c linux-2.6.16.7.new/drivers/mtd/maps/alchemy-flash.c
+--- linux-2.6.16.7/drivers/mtd/maps/alchemy-flash.c 2006-04-17 23:53:25.000000000 +0200
++++ linux-2.6.16.7.new/drivers/mtd/maps/alchemy-flash.c 2006-04-20 19:16:26.000000000 +0200
+@@ -105,6 +105,12 @@
+ #define USE_LOCAL_ACCESSORS /* why? */
+ #endif
+
++#ifdef CONFIG_MIPS_MTX1
++#define BOARD_MAP_NAME "MTX-1 Flash"
++#define BOARD_FLASH_SIZE 0x04000000 /* 64MB */
++#define BOARD_FLASH_WIDTH 4 /* 32-bits */
++#endif
++
+ static struct map_info alchemy_map = {
+ .name = BOARD_MAP_NAME,
+ };