410-v5.18-mtd-parsers-trx-allow-to-use-on-MediaTek-MIPS-SoCs.patch 1.3 KB

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