mtd: spi-nor: fix the wrong dummy value
authorHuang Shijie <b32955@freescale.com>
Mon, 28 Apr 2014 03:53:38 +0000 (11:53 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 5 Nov 2014 08:26:06 +0000 (00:26 -0800)
commit0b78a2cf2a73b5f32ffda8cde7866ca61ce0e0b7
tree3dcf558989b2bc68416ec9abbf97556fe366be84
parent438320dd34a4d0b2b177fbae749c3b9d00532faf
mtd: spi-nor: fix the wrong dummy value

For the DDR Quad read, the dummy cycles maybe 3 or 6 which is less then 8.
The dummy cycles is actually 8 for SPI fast/dual/quad read.

This patch makes preparations for the DDR quad read, it fixes the wrong dummy
value for both the spi-nor.c and m25p80.c.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/m25p80.c
drivers/mtd/spi-nor/spi-nor.c