ar7: add 3.18 support
[openwrt/svn-archive/archive.git] / target / linux / ar7 / patches-3.18 / 110-flash.patch
1 --- a/drivers/mtd/Makefile
2 +++ b/drivers/mtd/Makefile
3 @@ -16,7 +16,7 @@ obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
4 obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
5 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
6 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
7 -obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
8 +obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o titanpart.o
9 obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63xxpart.o
10 obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
11 obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
12 --- a/arch/mips/ar7/platform.c
13 +++ b/arch/mips/ar7/platform.c
14 @@ -199,7 +199,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 const char *ar7_probe_types[] = { "ar7part", NULL };