58c5e25664
Buffalo uses the TRX format with a different magic, add support for this. It is planned to send these patches upstream. Cc: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
24 lines
811 B
Diff
24 lines
811 B
Diff
From 63f0cf88ab5461acb0911252f12bb94ee3bf05a2 Mon Sep 17 00:00:00 2001
|
|
From: Hauke Mehrtens <hauke@hauke-m.de>
|
|
Date: Sun, 7 Mar 2021 18:23:29 +0100
|
|
Subject: mtd: parsers: Remove dependency to BRCM architectures
|
|
|
|
Buffalo uses the TRX partition format also on Mediatek SoCs.
|
|
|
|
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
|
---
|
|
drivers/mtd/parsers/Kconfig | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/mtd/parsers/Kconfig
|
|
+++ b/drivers/mtd/parsers/Kconfig
|
|
@@ -121,7 +121,7 @@ config MTD_AFS_PARTS
|
|
|
|
config MTD_PARSER_TRX
|
|
tristate "Parser for TRX format partitions"
|
|
- depends on MTD && (BCM47XX || ARCH_BCM_5301X || COMPILE_TEST)
|
|
+ depends on MTD
|
|
help
|
|
TRX is a firmware format used by Broadcom on their devices. It
|
|
may contain up to 3/4 partitions (depending on the version).
|