]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: spi-nor: refine Spansion S25FL512S ID
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Wed, 16 Jan 2019 17:53:25 +0000 (20:53 +0300)
committerBoris Brezillon <bbrezillon@kernel.org>
Wed, 23 Jan 2019 12:47:39 +0000 (13:47 +0100)
commita2126b0a010905e57ec8c855c58596098a3839ab
tree5edd25996101a9d1a9f3d57a4578cef74118a265
parentdfd2b74530e90831afdc4b361623de4be06018ea
mtd: spi-nor: refine Spansion S25FL512S ID

Spansion S25FL512S ID is erroneously using 5-byte JEDEC ID, while the chip
family ID is stored in the 6th byte. Due to using only 5-byte ID, it's also
covering S25FS512S and now that we have added 6-byte ID for that chip, we
can convert S25FL512S to using a proper 6-byte ID as well...

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