add a better pci fix for rb532
[openwrt.git] / target / linux / au1000-2.6 / patches / 002-mtx1_flash_map.patch
1 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
2 --- linux-2.6.16.7/drivers/mtd/maps/alchemy-flash.c 2006-04-17 23:53:25.000000000 +0200
3 +++ linux-2.6.16.7.new/drivers/mtd/maps/alchemy-flash.c 2006-04-20 19:16:26.000000000 +0200
4 @@ -105,6 +105,12 @@
5 #define USE_LOCAL_ACCESSORS /* why? */
6 #endif
7
8 +#ifdef CONFIG_MIPS_MTX1
9 +#define BOARD_MAP_NAME "MTX-1 Flash"
10 +#define BOARD_FLASH_SIZE 0x04000000 /* 64MB */
11 +#define BOARD_FLASH_WIDTH 4 /* 32-bits */
12 +#endif
13 +
14 static struct map_info alchemy_map = {
15 .name = BOARD_MAP_NAME,
16 };
This page took 0.03816 seconds and 5 git commands to generate.