Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: parsers: trx: allow to use on MediaTek MIPS SoCs

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

authored by

INAGAKI Hiroshi and committed by
Miquel Raynal
2365f91c 438356e5

+1 -1
+1 -1
drivers/mtd/parsers/Kconfig
··· 115 115 116 116 config MTD_PARSER_TRX 117 117 tristate "Parser for TRX format partitions" 118 - depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || COMPILE_TEST) 118 + depends on MTD && (BCM47XX || ARCH_BCM_5301X || ARCH_MEDIATEK || RALINK || COMPILE_TEST) 119 119 help 120 120 TRX is a firmware format used by Broadcom on their devices. It 121 121 may contain up to 3/4 partitions (depending on the version).