strip the kernel version suffix from target directories, except for brcm-2.4 (the...
[openwrt.git] / target / linux / ar7 / patches-2.6.22 / 110-flash.patch
1 diff -Nru linux-2.6.19.2/drivers/mtd/Kconfig linux-ar7/drivers/mtd/Kconfig
2 --- linux-2.6.19.2/drivers/mtd/Kconfig 2006-12-12 02:32:53.000000000 +0700
3 +++ linux-ar7/drivers/mtd/Kconfig 2007-02-03 22:47:10.000000000 +0700
4 @@ -152,6 +152,12 @@
5 for your particular device. It won't happen automatically. The
6 'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
7
8 +config MTD_AR7_PARTS
9 + tristate "TI AR7 partitioning support"
10 + depends on MTD_PARTITIONS
11 + ---help---
12 + TI AR7 partitioning support
13 +
14 comment "User Modules And Translation Layers"
15 depends on MTD
16
17 diff -Nru linux-2.6.19.2/drivers/mtd/Makefile linux-ar7/drivers/mtd/Makefile
18 --- linux-2.6.19.2/drivers/mtd/Makefile 2006-12-12 02:32:53.000000000 +0700
19 +++ linux-ar7/drivers/mtd/Makefile 2007-02-03 22:02:27.000000000 +0700
20 @@ -12,6 +12,7 @@
21 obj-$(CONFIG_MTD_REDBOOT_PARTS) += redboot.o
22 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
23 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
24 +obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
25
26 # 'Users' - code which presents functionality to userspace.
27 obj-$(CONFIG_MTD_CHAR) += mtdchar.o
28 diff -Nru linux-2.6.19.2/drivers/mtd/maps/physmap.c linux-ar7/drivers/mtd/maps/physmap.c
29 --- linux-2.6.19.2/drivers/mtd/maps/physmap.c 2006-12-12 02:32:53.000000000 +0700
30 +++ linux-ar7/drivers/mtd/maps/physmap.c 2007-02-03 21:57:11.000000000 +0700
31 @@ -74,7 +74,7 @@
32
33 static const char *rom_probe_types[] = { "cfi_probe", "jedec_probe", "map_rom", NULL };
34 #ifdef CONFIG_MTD_PARTITIONS
35 -static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", NULL };
36 +static const char *part_probe_types[] = { "cmdlinepart", "RedBoot", "ar7part", NULL };
37 #endif
38
39 static int physmap_flash_probe(struct platform_device *dev)
This page took 0.045914 seconds and 5 git commands to generate.