summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTudor Ambarus <tudor.ambarus@microchip.com>2021-04-02 11:20:30 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2021-04-11 10:36:35 +0300
commit46094049a49be777f12a9589798f7c70b90cd03f (patch)
tree24935ab7e69b3810bbdd122fe9f3b5e14005d413 /include
parentbe94215be1ab19e5d38f50962f611c88d4bfc83a (diff)
Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
This reverts commit 04b8edad262eec0d153005973dfbdd83423c0dcb. mx25l51245g and mx66l51235l have the same flash ID. The flash detection returns the first entry in the flash_info array that matches the flash ID that was read, thus for the 0xc2201a ID, mx25l51245g was always hit, introducing a regression for mx66l51235l. If one wants to differentiate the flash names, a better fix would be to differentiate between the two at run-time, depending on SFDP, and choose the correct name from a list of flash names, depending on the SFDP differentiator. Fixes: 04b8edad262e ("mtd: spi-nor: macronix: Add support for mx25l51245g") Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Acked-by: Pratyush Yadav <p.yadav@ti.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20210402082031.19055-2-tudor.ambarus@microchip.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions