diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2019-03-28 15:19:08 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-05-06 21:46:45 +0200 |
commit | dd84cb022b310674f4c287ac426cb10f1b577140 (patch) | |
tree | 088070af45b8c7fa44494518a8283b49214b17cb /drivers/mtd/parsers/Kconfig | |
parent | e651de475a7a919403b51eb93db374d732377b0e (diff) | |
download | linux-dd84cb022b310674f4c287ac426cb10f1b577140.tar.gz linux-dd84cb022b310674f4c287ac426cb10f1b577140.tar.bz2 linux-dd84cb022b310674f4c287ac426cb10f1b577140.zip |
mtd: bcm63xxpart: move imagetag parsing to its own parser
Move the bcm963xx Image Tag parsing into its own partition parser. This
Allows reusing the parser with different full flash parsers.
While moving it, rename it to bcm963* to better reflect it isn't chip,
but reference implementation specific.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/parsers/Kconfig')
-rw-r--r-- | drivers/mtd/parsers/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/mtd/parsers/Kconfig b/drivers/mtd/parsers/Kconfig index fccf1950e92d..c8be3f1507ca 100644 --- a/drivers/mtd/parsers/Kconfig +++ b/drivers/mtd/parsers/Kconfig @@ -1,3 +1,14 @@ +config MTD_PARSER_IMAGETAG + tristate "Parser for BCM963XX Image Tag format partitions" + depends on BCM63XX || BMIPS_GENERIC || COMPILE_TEST + select CRC32 + help + Image Tag is the firmware header used by broadcom on their xDSL line + of devices. It is used to describe the offsets and lengths of kernel + and rootfs partitions. + This driver adds support for parsing a partition with an Image Tag + header and creates up to two partitions, kernel and rootfs. + config MTD_PARSER_TRX tristate "Parser for TRX format partitions" depends on MTD && (BCM47XX || ARCH_BCM_5301X || COMPILE_TEST) |