]> www.infradead.org Git - users/dwmw2/linux.git/commit
mtd: spi-nor: Split mt25qu512a (n25q512a) entry into two
authorVignesh Raghavendra <vigneshr@ti.com>
Thu, 5 Dec 2019 06:59:33 +0000 (12:29 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 12:37:18 +0000 (04:37 -0800)
commit2a5522e266b36f33dcb83c22283ef48cfcf26af8
treebdafb543c374c91557d395403a8c6d6112973885
parentd2b7195d43c63b6f20226b6f593db3416f80c227
mtd: spi-nor: Split mt25qu512a (n25q512a) entry into two

commit bd8a6e31b87b39a03ab11820776363640440dbe0 upstream.

mt25q family is different from n25q family of devices, even though manf
ID and device IDs are same. mt25q flash has bit 6 set in 5th byte of
READ ID response which can be used to distinguish it from n25q variant.
mt25q flashes support stateless 4 Byte addressing opcodes where as n25q
flashes don't. Therefore, have two separate entries for mt25qu512a and
n25q512a.

Fixes: 9607af6f857f ("mtd: spi-nor: Rename "n25q512a" to "mt25qu512a (n25q512a)"")
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/spi-nor/spi-nor.c