mtd: spi-nor: unify read opcode variants with ST SPI FSM
authorBrian Norris <computersforpeace@gmail.com>
Wed, 9 Apr 2014 02:16:49 +0000 (19:16 -0700)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 14 Apr 2014 18:23:00 +0000 (11:23 -0700)
commit58b89a1f4c2a65b10b8f7b90b6ff2161b19bb0d1
tree4c66af58cbfddd308c20271ae68f4959c6644117
parentb02e7f3ef0beb72da8fc64542f0ac977996ec56b
mtd: spi-nor: unify read opcode variants with ST SPI FSM

serial_flash_cmds.h defines our opcodes a little differently. Let's
borrow its naming, since it's borrowed from the SFDP standard, and it's
more extensible.

This prepares us for merging serial_flash_cmds.h and spi-nor.h opcode
listing.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Huang Shijie <b32955@freescale.com>
drivers/mtd/spi-nor/fsl-quadspi.c
drivers/mtd/spi-nor/spi-nor.c
include/linux/mtd/spi-nor.h