linux-stable/drivers/mtd/parsers
Baruch Siach 8f62f59f83 mtd: parsers: qcom: incompatible with spi-nor 4k sectors
Partition size and offset value are in block size units, which is the
same as 'erasesize'. But when 4K sectors are enabled erasesize is set to
4K. Bail out in that case.

Fixes: 803eb124e1 ("mtd: parsers: Add Qcom SMEM parser")
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/0a2611f885b894274436ded3ca78bc0440fca74a.1614790096.git.baruch@tkos.co.il
2021-03-11 11:59:26 +01:00
..
afs.c mtd: parsers: afs: Fix freeing the part name memory in failure 2021-02-01 18:58:38 +01:00
ar7part.c mtd: parsers: Move TI AR7 parser 2019-09-15 23:50:48 +02:00
bcm47xxpart.c mtd: parsers: Move BCM47xx parser 2019-09-15 23:50:48 +02:00
bcm63xxpart.c mtd: parsers: bcm63xx: simplify CFE detection 2020-06-26 08:35:10 +02:00
cmdlinepart.c mtd: parser: cmdline: Fix parsing of part-names with colons 2020-12-07 12:14:32 +01:00
Kconfig mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
Makefile mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_bcm4908.c mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_bcm4908.h mtd: parsers: ofpart: support BCM4908 fixed partitions 2021-03-11 09:37:49 +01:00
ofpart_core.c mtd: parsers: ofpart: limit parsing of deprecated DT syntax 2021-03-11 11:55:00 +01:00
parser_imagetag.c mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions() 2021-01-28 22:24:54 +01:00
parser_trx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
qcomsmempart.c mtd: parsers: qcom: incompatible with spi-nor 4k sectors 2021-03-11 11:59:26 +01:00
redboot.c
sharpslpart.c mtd: sharpslpart: Fix unsigned comparison to zero 2020-01-21 20:00:34 +01:00