]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mtd: parsers: trx: allow to use on MediaTek MIPS SoCs
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Sun, 13 Feb 2022 06:40:44 +0000 (15:40 +0900)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 18 Feb 2022 14:14:05 +0000 (15:14 +0100)
Buffalo sells some router devices which have trx-formatted firmware,
based on MediaTek MIPS SoCs. To use parser_trx on those devices, add
"RALINK" to dependency and allow to compile for MediaTek MIPS SoCs.

examples:

- WCR-1166DS  (MT7628)
- WSR-1166DHP (MT7621)
- WSR-2533DHP (MT7621)

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220213064045.1781-1-musashino.open@gmail.com
drivers/mtd/parsers/Kconfig

index 337ea8b9a4c3b6c2feaf3e6355ade51a24a4cd97..23763d16e4f9759853c573ab24f754e8d4e28308 100644 (file)
@@ -115,7 +115,7 @@ config MTD_AFS_PARTS
 
 config MTD_PARSER_TRX
        tristate "Parser for TRX format partitions"
-       depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || COMPILE_TEST)
+       depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || RALINK || COMPILE_TEST)
        help
          TRX is a firmware format used by Broadcom on their devices. It
          may contain up to 3/4 partitions (depending on the version).