ath79: change ledtrig on GL.iNet AR150
[oweals/openwrt.git] / target / linux / ath79 / patches-4.14 / 404-mtd-cybertan-trx-parser.patch
1 --- a/drivers/mtd/parsers/Makefile
2 +++ b/drivers/mtd/parsers/Makefile
3 @@ -1 +1,2 @@
4 +obj-$(CONFIG_MTD_PARSER_CYBERTAN)      += parser_cybertan.o
5  obj-$(CONFIG_MTD_PARSER_TRX)           += parser_trx.o
6 --- a/drivers/mtd/parsers/Kconfig
7 +++ b/drivers/mtd/parsers/Kconfig
8 @@ -1,3 +1,11 @@
9 +config MTD_PARSER_CYBERTAN
10 +       tristate "Parser for Cybertan format partitions"
11 +       depends on MTD && (ATH79 || COMPILE_TEST)
12 +       help
13 +         Cybertan has a proprietory header than encompasses a Broadcom trx
14 +         header. This driver will parse the header and take care of the
15 +         special offsets that result in the extra headers.
16 +
17  config MTD_PARSER_TRX
18         tristate "Parser for TRX format partitions"
19         depends on MTD && (BCM47XX || ARCH_BCM_5301X || COMPILE_TEST)