| 1 | --- a/drivers/mtd/Makefile |
| 2 | +++ b/drivers/mtd/Makefile |
| 3 | @@ -10,7 +10,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_MYLOADER_PARTS) += myloader.o |
| 11 | |
| 12 | --- a/arch/mips/ar7/platform.c |
| 13 | +++ b/arch/mips/ar7/platform.c |
| 14 | @@ -199,11 +199,14 @@ 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 }; |
| 23 | + |
| 24 | static struct physmap_flash_data physmap_flash_data = { |
| 25 | .width = 2, |
| 26 | + .part_probe_types = ar7_probe_types, |
| 27 | }; |
| 28 | |
| 29 | static struct platform_device physmap_flash = { |
| 30 | |