update to 2.6.32.33 and 2.6.37.4
[openwrt.git] / target / linux / ar7 / patches-2.6.32 / 110-flash.patch
1 --- a/drivers/mtd/maps/physmap.c
2 +++ b/drivers/mtd/maps/physmap.c
3 @@ -80,7 +80,7 @@ static const char *rom_probe_types[] = {
4                                         "map_rom",
5                                         NULL };
6  #ifdef CONFIG_MTD_PARTITIONS
7 -static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL };
8 +static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "ar7part", NULL };
9  #endif
10  
11  static int physmap_flash_probe(struct platform_device *dev)
12 --- a/arch/mips/ar7/platform.c
13 +++ b/arch/mips/ar7/platform.c
14 @@ -98,7 +98,7 @@ static struct resource physmap_flash_res
15         .name = "mem",
16         .flags = IORESOURCE_MEM,
17         .start = 0x10000000,
18 -       .end = 0x107fffff,
19 +       .end = 0x11ffffff,
20  };
21  
22  static struct resource cpmac_low_res[] = {