3734d3e5c55aa8df8bcfa74b579fd7514e0ec267
[openwrt/openwrt.git] / target / linux / ath79 / patches-4.14 / 405-mtd-tp-link-partition-parser.patch
1 Index: linux-4.14.18/drivers/mtd/Kconfig
2 ===================================================================
3 --- linux-4.14.18.orig/drivers/mtd/Kconfig
4 +++ linux-4.14.18/drivers/mtd/Kconfig
5 @@ -194,6 +194,12 @@ config MTD_MYLOADER_PARTS
6 You will still need the parsing functions to be called by the driver
7 for your particular device. It won't happen automatically.
8
9 +config MTD_TPLINK_PARTS
10 + tristate "TP-Link AR7XXX/AR9XXX partitioning support"
11 + depends on ATH79
12 + ---help---
13 + TBD.
14 +
15 comment "User Modules And Translation Layers"
16
17 #
18 Index: linux-4.14.18/drivers/mtd/Makefile
19 ===================================================================
20 --- linux-4.14.18.orig/drivers/mtd/Makefile
21 +++ linux-4.14.18/drivers/mtd/Makefile
22 @@ -18,6 +18,7 @@ obj-$(CONFIG_MTD_BCM63XX_PARTS) += bcm63
23 obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
24 obj-$(CONFIG_MTD_MYLOADER_PARTS) += myloader.o
25 obj-y += parsers/
26 +obj-$(CONFIG_MTD_TPLINK_PARTS) += tplinkpart.o
27
28 # 'Users' - code which presents functionality to userspace.
29 obj-$(CONFIG_MTD_BLKDEVS) += mtd_blkdevs.o