[PATCH] mtd: parsers: trx: allow to use on MediaTek MIPS SoCs

INAGAKI Hiroshi posted 1 patch 4 years, 4 months ago
Failed in applying to current master (apply log)
drivers/mtd/parsers/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd: parsers: trx: allow to use on MediaTek MIPS SoCs
Posted by INAGAKI Hiroshi 4 years, 4 months ago
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>
---
 drivers/mtd/parsers/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/parsers/Kconfig b/drivers/mtd/parsers/Kconfig
index 337ea8b9a4c3..23763d16e4f9 100644
--- a/drivers/mtd/parsers/Kconfig
+++ b/drivers/mtd/parsers/Kconfig
@@ -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).
-- 
2.25.1

Re: [PATCH] mtd: parsers: trx: allow to use on MediaTek MIPS SoCs
Posted by Miquel Raynal 4 years, 4 months ago
On Sun, 2022-02-13 at 06:40:44 UTC, INAGAKI Hiroshi wrote:
> 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>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel