mtd: spi-nor: copy the SPI NOR commands to a new header file
authorHuang Shijie <b32955@freescale.com>
Mon, 24 Feb 2014 10:37:35 +0000 (18:37 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 14 Apr 2014 18:22:57 +0000 (11:22 -0700)
commitf39d2fa0122e6abd8505a3598f3aa535d0d5aade
tree353647090f5573b2fab9f26747be9a1d2a5cbf1a
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
mtd: spi-nor: copy the SPI NOR commands to a new header file

This patch adds a new header :spi-nor.h,
and copies all the SPI NOR commands and relative macros into this new header.

This hearder can be used by the m25p80.c and other spi-nor controller,
such as Freescale's Quadspi.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
include/linux/mtd/spi-nor.h [new file with mode: 0644]