[ramips] add common setup code
[openwrt.git] / target / linux / ar7 / patches / 110-flash.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -196,6 +196,12 @@ config MTD_MYLOADER_PARTS
4 You will still need the parsing functions to be called by the driver
5 for your particular device. It won't happen automatically.
6
7 +config MTD_AR7_PARTS
8 + tristate "TI AR7 partitioning support"
9 + depends on MTD_PARTITIONS
10 + ---help---
11 + TI AR7 partitioning support
12 +
13 comment "User Modules And Translation Layers"
14
15 config MTD_CHAR
16 --- a/drivers/mtd/maps/physmap.c
17 +++ b/drivers/mtd/maps/physmap.c
18 @@ -80,7 +80,7 @@ static const char *rom_probe_types[] = {
19 "map_rom",
20 NULL };
21 #ifdef CONFIG_MTD_PARTITIONS
22 -static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL };
23 +static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "ar7part", NULL };
24 #endif
25
26 static int physmap_flash_probe(struct platform_device *dev)
This page took 0.044442 seconds and 5 git commands to generate.