summaryrefslogtreecommitdiff
path: root/drivers/mtd/parsers/Kconfig
diff options
context:
space:
mode:
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2021-01-04 07:11:35 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-01-04 14:11:28 +0300
commit803eb124e1a64e42888542c3444bfe6dac412c7f (patch)
treeae6a0513ab04c20767f1c75bc1f4ecd5893416c1 /drivers/mtd/parsers/Kconfig
parent5f327f08192e2ff957ea43a2b4a2659663320483 (diff)
downloadlinux-803eb124e1a64e42888542c3444bfe6dac412c7f.tar.xz
mtd: parsers: Add Qcom SMEM parser
NAND based Qualcomm platforms have the partition table populated in the Shared Memory (SMEM). Hence, add a parser for parsing the partitions from it. Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210104041137.113075-3-manivannan.sadhasivam@linaro.org
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
index e72354322f62..d90c30229052 100644
--- a/drivers/mtd/parsers/Kconfig
+++ b/drivers/mtd/parsers/Kconfig
@@ -160,3 +160,11 @@ config MTD_REDBOOT_PARTS_READONLY
'FIS directory' images, enable this option.
endif # MTD_REDBOOT_PARTS
+
+config MTD_QCOMSMEM_PARTS
+ tristate "Qualcomm SMEM NAND flash partition parser"
+ depends on MTD_NAND_QCOM || COMPILE_TEST
+ depends on QCOM_SMEM
+ help
+ This provides support for parsing partitions from Shared Memory (SMEM)
+ for NAND flash on Qualcomm platforms.