drivers: mtd: m25p80: add quad read support
authorSourav Poddar <sourav.poddar@ti.com>
Wed, 6 Nov 2013 14:35:35 +0000 (20:05 +0530)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:07 +0000 (11:22 -0800)
commit3487a63955c34ea508bcf4ca5131ddd953876e2d
treecc97a964acf1ef342cad455250784e624d87bfc6
parent8552b439aba7f32063755d23f79ca27b4d0a3115
drivers: mtd: m25p80: add quad read support

Some flash also support quad read mode. Adding support for quad read
mode in m25p80 for Spansion and Macronix flash.

[Tweaked by Brian]

With this patch, quad-read support will override fast-read and
normal-read, if the SPI controller and flash chip both support it.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/m25p80.c