[PATCH] mtd: qcom_nandc: allow override of partition parser

Miquel Raynal miquel.raynal at bootlin.com
Mon May 10 03:02:27 PDT 2021


On Wed, 2021-04-21 at 18:31:09 UTC, Baruch Siach wrote:
> Commit 82bfd11f1b03 ("mtd: rawnand: qcom: Add support for Qcom SMEM
> parser") made qcomsmem the only parser for qcom_nandc partitions. This
> might be problematic for systems with both SPI and NAND MTD devices.
> When booting from SPI flash the partition table should not apply to the
> NAND flash.
> 
> Prepend cmdlinepart and ofpart parsers to allow override of the
> partition parser.
> 
> Cc: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>
> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam at linaro.org>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-mtd mailing list