faac535270967678958c31204a845a882277a6da
[openwrt/staging/neocturne.git] /
1 From 81bb218c829246962a6327c64eec18ddcc049936 Mon Sep 17 00:00:00 2001
2 From: Hauke Mehrtens <hauke@hauke-m.de>
3 Date: Sun, 18 Apr 2021 23:46:16 +0200
4 Subject: mtd: parsers: trx: Allow to use TRX parser on Mediatek SoCs
5
6 Buffalo uses the TRX partition format also on Mediatek MT7622 SoCs.
7
8 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
10 Link: https://lore.kernel.org/linux-mtd/20210418214616.239574-4-hauke@hauke-m.de
11 ---
12 drivers/mtd/parsers/Kconfig | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 --- a/drivers/mtd/parsers/Kconfig
16 +++ b/drivers/mtd/parsers/Kconfig
17 @@ -115,7 +115,7 @@ config MTD_AFS_PARTS
18
19 config MTD_PARSER_TRX
20 tristate "Parser for TRX format partitions"
21 - depends on MTD && (BCM47XX || ARCH_BCM_5301X || COMPILE_TEST)
22 + depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || COMPILE_TEST)
23 help
24 TRX is a firmware format used by Broadcom on their devices. It
25 may contain up to 3/4 partitions (depending on the version).