mtd: extract TRX parser out of bcm47xxpart into a separated module
authorRafał Miłecki <rafal@milecki.pl>
Wed, 21 Jun 2017 06:26:47 +0000 (08:26 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 22 Jun 2017 20:13:10 +0000 (13:13 -0700)
commit99352afe8f169c95b294b6b9a8d0e18cd9e3c2a0
tree12f31ac62e7a309bccabb2e3d424d5ecf5f7cc11
parent1a0915be192606fee64830b9c5d70b7ed59426b6
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>
drivers/mtd/Kconfig
drivers/mtd/Makefile
drivers/mtd/bcm47xxpart.c
drivers/mtd/parsers/Kconfig [new file with mode: 0644]
drivers/mtd/parsers/Makefile [new file with mode: 0644]
drivers/mtd/parsers/parser_trx.c [new file with mode: 0644]