summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/parsers/Kconfig
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-06-21 08:26:47 +0200
committerBrian Norris <computersforpeace@gmail.com>2017-06-22 13:13:10 -0700
commit99352afe8f169c95b294b6b9a8d0e18cd9e3c2a0 (patch)
tree12f31ac62e7a309bccabb2e3d424d5ecf5f7cc11 /drivers/mtd/parsers/Kconfig
parent1a0915be192606fee64830b9c5d70b7ed59426b6 (diff)
downloadlinux-99352afe8f169c95b294b6b9a8d0e18cd9e3c2a0.tar.bz2
mtd: extract TRX parser out of bcm47xxpart into a separated module
This makes TRX parsing code reusable with other platforms and parsers. Please note this patch doesn't really change anything in the existing code, just moves it. There is still some place for improvement (e.g. working on non-hacky method of checking rootfs format) but it's not really a subject of this change. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/parsers/Kconfig')
-rw-r--r--drivers/mtd/parsers/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/parsers/Kconfig b/drivers/mtd/parsers/Kconfig
new file mode 100644
index 000000000000..d206b3c533bc
--- /dev/null
+++ b/drivers/mtd/parsers/Kconfig
@@ -0,0 +1,8 @@
+config MTD_PARSER_TRX
+ tristate "Parser for TRX format partitions"
+ depends on MTD && (BCM47XX || ARCH_BCM_5301X || 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).
+ This driver will parse TRX header and report at least two partitions:
+ kernel and rootfs.