[brcm63xx] rename 96348GW-1{0,1}-gen to 96348GW-1{0,1}-generic
[openwrt.git] / target / linux / generic / patches-3.2 / 430-mtd_myloader_partition_parser.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -148,6 +148,22 @@ config MTD_AR7_PARTS
4 ---help---
5 TI AR7 partitioning support
6
7 +config MTD_MYLOADER_PARTS
8 + tristate "MyLoader partition parsing"
9 + depends on ADM5120 || ATHEROS_AR231X || ATHEROS_AR71XX || ATH79
10 + ---help---
11 + MyLoader is a bootloader which allows the user to define partitions
12 + in flash devices, by putting a table in the second erase block
13 + on the device, similar to a partition table. This table gives the
14 + offsets and lengths of the user defined partitions.
15 +
16 + If you need code which can detect and parse these tables, and
17 + register MTD 'partitions' corresponding to each image detected,
18 + enable this option.
19 +
20 + You will still need the parsing functions to be called by the driver
21 + for your particular device. It won't happen automatically.
22 +
23 comment "User Modules And Translation Layers"
24
25 config MTD_CHAR
26 --- a/drivers/mtd/Makefile
27 +++ b/drivers/mtd/Makefile
28 @@ -11,6 +11,7 @@ obj-$(CONFIG_MTD_REDBOOT_PARTS) += redbo
29 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
30 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
31 obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
32 +obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
33
34 # 'Users' - code which presents functionality to userspace.
35 obj-$(CONFIG_MTD_CHAR) += mtdchar.o
This page took 0.045408 seconds and 5 git commands to generate.