diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2018-11-26 12:45:44 +0000 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-11-28 09:00:00 +0100 |
commit | dc92843159a7d01e37cf68750745333e944a9e55 (patch) | |
tree | 74f5e717685aafca4ccabd0c8e818a40da2843ff /drivers/of/Kconfig | |
parent | 2e6e902d185027f8e3cb8b7305238f7e35d6a436 (diff) |
mtd: spi-nor: fix erase_type array to indicate current map conf
BFPT advertises all the erase types supported by all the possible
map configurations. Mask out the erase types that are not supported
by the current map configuration.
Backward compatibility test done on sst26vf064b.
Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map Parameter Table")
Reported-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/of/Kconfig')
0 files changed, 0 insertions, 0 deletions