[brcm63xx] revert r21085, fixes #7282
[openwrt.git] / target / linux / at91 / patches-2.6.25 / 007-mtd-partition.patch
1 --- a/drivers/mtd/devices/at91_dataflash.c
2 +++ b/drivers/mtd/devices/at91_dataflash.c
3 @@ -175,7 +175,7 @@ static struct mtd_partition static_parti
4 };
5 #endif
6
7 -static const char *part_probes[] = { "cmdlinepart", NULL, };
8 +static const char *part_probes[] = { "cmdlinepart", "at91part", NULL, };
9
10 #endif
11
12 --- a/drivers/mtd/Kconfig
13 +++ b/drivers/mtd/Kconfig
14 @@ -168,6 +168,12 @@ config MTD_OF_PARTS
15 the partition map from the children of the flash node,
16 as described in Documentation/powerpc/booting-without-of.txt.
17
18 +config MTD_AT91_PARTS
19 + tristate "Atmel AT91 partitioning support"
20 + depends on MTD_PARTITIONS && ARCH_AT91RM9200 && AT91_SPI
21 + ---help---
22 + Atmel AT91 partitioning support
23 +
24 comment "User Modules And Translation Layers"
25
26 config MTD_CHAR
27 --- a/drivers/mtd/Makefile
28 +++ b/drivers/mtd/Makefile
29 @@ -12,6 +12,7 @@ obj-$(CONFIG_MTD_REDBOOT_PARTS) += redbo
30 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
31 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
32 obj-$(CONFIG_MTD_OF_PARTS) += ofpart.o
33 +obj-$(CONFIG_MTD_AT91_PARTS) += at91part.o
34
35 # 'Users' - code which presents functionality to userspace.
36 obj-$(CONFIG_MTD_CHAR) += mtdchar.o
This page took 0.044432 seconds and 5 git commands to generate.