mtd: spi-nor: allow dual/quad reads on S25FL129P
authorJonas Gorski <jogo@openwrt.org>
Wed, 26 Aug 2015 12:56:53 +0000 (14:56 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 2 Sep 2015 21:07:53 +0000 (14:07 -0700)
commitc1752086796bafaf0c933240642ed1cf21ddab4f
treec5599bb70bc99c96c0d33acc6e8c5fd9839ae30a
parent092f05c3eccbd616a0cfa21945412a3e82a9fb6c
mtd: spi-nor: allow dual/quad reads on S25FL129P

According to the datasheet[1], both S25FL129P0 (256kB sectors) and
S25FL129P1 (64kB sectors) support dual read, quad read, dual i/o read
and quad i/o read.

I have verified dual read to be working for S25FL129P1 on a dual
capable spi controller. Quad as well as S25FL129P0 is untested, lacking
hardware to verify.

[1] http://www.spansion.com/Support/Datasheets/S25FL129P_00.pdf

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/spi-nor.c