mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 18:31:53 +02:00
17 lines
595 B
Diff
17 lines
595 B
Diff
|
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,
|
||
|
};
|