5c49841760f16f663355210b6e4bd7bd5e7b210f
[openwrt/staging/stintel.git] /
1 From 2365f91c861cbfeef7141c69842848c7b2d3c2db Mon Sep 17 00:00:00 2001
2 From: INAGAKI Hiroshi <musashino.open@gmail.com>
3 Date: Sun, 13 Feb 2022 15:40:44 +0900
4 Subject: [PATCH] mtd: parsers: trx: allow to use on MediaTek MIPS SoCs
5
6 Buffalo sells some router devices which have trx-formatted firmware,
7 based on MediaTek MIPS SoCs. To use parser_trx on those devices, add
8 "RALINK" to dependency and allow to compile for MediaTek MIPS SoCs.
9
10 examples:
11
12 - WCR-1166DS (MT7628)
13 - WSR-1166DHP (MT7621)
14 - WSR-2533DHP (MT7621)
15
16 Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
17 Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
18 Link: https://lore.kernel.org/linux-mtd/20220213064045.1781-1-musashino.open@gmail.com
19 ---
20 drivers/mtd/parsers/Kconfig | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23 --- a/drivers/mtd/parsers/Kconfig
24 +++ b/drivers/mtd/parsers/Kconfig
25 @@ -115,7 +115,7 @@ config MTD_AFS_PARTS
26
27 config MTD_PARSER_TRX
28 tristate "Parser for TRX format partitions"
29 - depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || COMPILE_TEST)
30 + depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || RALINK || COMPILE_TEST)
31 help
32 TRX is a firmware format used by Broadcom on their devices. It
33 may contain up to 3/4 partitions (depending on the version).