summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/parsers/Kconfig
diff options
context:
space:
mode:
authorMikhail Zhilkin <csharper2005@gmail.com>2022-05-29 11:07:14 +0000
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-06-09 15:03:32 +0200
commit9b78ef0c7997052e9eaa0f7a4513d546fa17358c (patch)
tree008bb189466423ee8466571c2a509c238f204114 /drivers/mtd/parsers/Kconfig
parent9f7e62815cf3cbbcb1b8cb21649fb4dfdb3aa016 (diff)
downloadlinux-9b78ef0c7997052e9eaa0f7a4513d546fa17358c.tar.gz
linux-9b78ef0c7997052e9eaa0f7a4513d546fa17358c.tar.bz2
linux-9b78ef0c7997052e9eaa0f7a4513d546fa17358c.zip
mtd: parsers: add support for Sercomm partitions
This adds an MTD partition parser for the Sercomm partition table that is used in some Beeline, Netgear and Sercomm routers. The Sercomm partition map table contains real partition offsets, which may differ from device to device depending on the number and location of bad blocks on NAND. Original patch (proposed by NOGUCHI Hiroshi): Link: https://github.com/openwrt/openwrt/pull/1318#issuecomment-420607394 Signed-off-by: NOGUCHI Hiroshi <drvlabo@gmail.com> Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220529110714.189732-1-csharper2005@gmail.com
Diffstat (limited to 'drivers/mtd/parsers/Kconfig')
-rw-r--r--drivers/mtd/parsers/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mtd/parsers/Kconfig b/drivers/mtd/parsers/Kconfig
index 23763d16e4f9..b43df73927a0 100644
--- a/drivers/mtd/parsers/Kconfig
+++ b/drivers/mtd/parsers/Kconfig
@@ -186,3 +186,12 @@ config MTD_QCOMSMEM_PARTS
help
This provides support for parsing partitions from Shared Memory (SMEM)
for NAND and SPI flash on Qualcomm platforms.
+
+config MTD_SERCOMM_PARTS
+ tristate "Sercomm partition table parser"
+ depends on MTD && RALINK
+ help
+ This provides partitions table parser for devices with Sercomm
+ partition map. This partition table contains real partition
+ offsets, which may differ from device to device depending on the
+ number and location of bad blocks on NAND.