ar71xx: run the RedBoot parser only on the RedBoot based boards
[openwrt.git] / target / linux / ar71xx / patches-2.6.39 / 109-mtd-wrt160nl-trx-parser.patch
1 --- a/drivers/mtd/Kconfig
2 +++ b/drivers/mtd/Kconfig
3 @@ -176,6 +176,12 @@ config MTD_AR7_PARTS
4
5 endif # MTD_PARTITIONS
6
7 +config MTD_WRT160NL_PARTS
8 + tristate "Linksys WRT160NL partitioning support"
9 + depends on MTD_PARTITIONS && AR71XX_MACH_WRT160NL
10 + ---help---
11 + Linksys WRT160NL partitioning support
12 +
13 config MTD_MYLOADER_PARTS
14 tristate "MyLoader partition parsing"
15 depends on MTD_PARTITIONS && (ADM5120 || ATHEROS_AR231X || ATHEROS_AR71XX)
16 --- a/drivers/mtd/Makefile
17 +++ b/drivers/mtd/Makefile
18 @@ -12,6 +12,7 @@ obj-$(CONFIG_MTD_REDBOOT_PARTS) += redbo
19 obj-$(CONFIG_MTD_CMDLINE_PARTS) += cmdlinepart.o
20 obj-$(CONFIG_MTD_AFS_PARTS) += afs.o
21 obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
22 +obj-$(CONFIG_MTD_WRT160NL_PARTS) += wrt160nl_part.o
23 obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
24
25 # 'Users' - code which presents functionality to userspace.
This page took 0.039448 seconds and 5 git commands to generate.