ath79: remove unused TP-Link partition parser
[openwrt/openwrt.git] / target / linux / ath79 / patches-5.4 / 404-mtd-cybertan-trx-parser.patch
1 --- a/drivers/mtd/parsers/Makefile
2 +++ b/drivers/mtd/parsers/Makefile
3 @@ -1,3 +1,4 @@
4 +obj-$(CONFIG_MTD_PARSER_CYBERTAN) += parser_cybertan.o
5 # SPDX-License-Identifier: GPL-2.0-only
6 obj-$(CONFIG_MTD_AR7_PARTS) += ar7part.o
7 obj-$(CONFIG_MTD_BCM47XX_PARTS) += bcm47xxpart.o
8 --- a/drivers/mtd/parsers/Kconfig
9 +++ b/drivers/mtd/parsers/Kconfig
10 @@ -94,6 +94,14 @@ config MTD_AFS_PARTS
11 for your particular device. It won't happen automatically. The
12 'physmap' map driver (CONFIG_MTD_PHYSMAP) does this, for example.
13
14 +config MTD_PARSER_CYBERTAN
15 + tristate "Parser for Cybertan format partitions"
16 + depends on MTD && (ATH79 || COMPILE_TEST)
17 + help
18 + Cybertan has a proprietory header than encompasses a Broadcom trx
19 + header. This driver will parse the header and take care of the
20 + special offsets that result in the extra headers.
21 +
22 config MTD_PARSER_TRX
23 tristate "Parser for TRX format partitions"
24 depends on MTD && (BCM47XX || ARCH_BCM_5301X || COMPILE_TEST)