]> git.sur5r.net Git - u-boot/commit
mtd: spi: Fix page size for S25FL032P,S25FL064P
authorMarek Vasut <marex@denx.de>
Fri, 21 Feb 2014 17:13:26 +0000 (18:13 +0100)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 17 Mar 2014 16:24:57 +0000 (21:54 +0530)
commitbf64035a159f114d0fb93391acb7f5e73eb020e6
tree053a7dba54ab462cc95f7e92c99c7ab826229912
parent7dfc4dbd2d1592ee420945afe6a82003c374b0de
mtd: spi: Fix page size for S25FL032P,S25FL064P

The commit 6af8dc3ebccb3b1e4b2e479315e49545e7f53150 broke support for
S25FL032P and S25FL064P by carelessly removing the code handling special
page size for these two SPI NOR flashes and unifying the code under the
assumption that Extended JEDEC ID of 0x4d00 always implies 512b page size.

Add special case handling for these two SPI NOR flashes.

Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/sf_probe.c