mtd: spi-nor: spansion: Differentiate between s25fl256s and s25fs256s
authorTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 29 Apr 2020 07:11:01 +0000 (07:11 +0000)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 28 May 2020 07:46:23 +0000 (10:46 +0300)
commit075fd6dff24acf51997597669e4642db6a919014
treecd61ba5ce8a623a47754188f983ebe8b5aca0874
parentc26d0d87f175b8283b8606d2122603232028cbf2
mtd: spi-nor: spansion: Differentiate between s25fl256s and s25fs256s

s25fs256s was identified as s25fl256s. Differentiate between them by
the Family ID using the INFO6 macro.

Fixes: b199489d37b2 ("mtd: spi-nor: add the framework for SPI NOR")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
drivers/mtd/spi-nor/spansion.c