]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:32 +0000 (21:16 -0600)
commita1001875a9b416e99634cfecbd35e182777753ef
tree1086a378d121bcb48f7f7f7be53c05211a3dd26b
parentf94d2d64db3dc9bee2cb4e16c9df6a18227a8474
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]