mtd: parsers: trx: Allow to use TRX parser on Mediatek SoCs
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 18 Apr 2021 21:46:16 +0000 (23:46 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 10 May 2021 10:11:53 +0000 (12:11 +0200)
Buffalo uses the TRX partition format also on Mediatek MT7622 SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210418214616.239574-4-hauke@hauke-m.de
drivers/mtd/parsers/Kconfig

index 9babe678c41b0805655350acbc3c5341cbe52644..337ea8b9a4c3b6c2feaf3e6355ade51a24a4cd97 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 || COMPILE_TEST)
+       depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || 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).