mtd: spi-nor: add Spansion S25FS512S ID
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 16 Jan 2019 17:51:56 +0000 (20:51 +0300)
committerBoris Brezillon <bbrezillon@kernel.org>
Wed, 23 Jan 2019 12:47:34 +0000 (13:47 +0100)
commitdfd2b74530e90831afdc4b361623de4be06018ea
tree5c56d2f01dacfc76b4bc8afcd1883d72c062d48c
parent0837ae46ff003fed44bfead23c590e7105f47623
mtd: spi-nor: add Spansion S25FS512S ID

Spansion S25FS512S flash is currently misdetected as S25FL512S since the
latter uses 5-byte JEDEC ID, while the 6th ID byte (family ID) is different
on those chips. Add the 6-byte S25FS512S ID before S25FL512S ID in order
not to break the existing S25FS512S users.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
drivers/mtd/spi-nor/spi-nor.c