summaryrefslogtreecommitdiff
path: root/drivers/mtd/devices/st_spi_fsm.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-03-20 13:20:39 +0400
committerBrian Norris <computersforpeace@gmail.com>2014-03-20 15:17:15 +0400
commit5549fbd514b6002073437ee543deb89904045078 (patch)
tree317ea92048c4c66ee1959c1f110b741fa1dfc609 /drivers/mtd/devices/st_spi_fsm.c
parent1bd512b562dde92dae90036c4e6fd91f3870e44f (diff)
downloadlinux-5549fbd514b6002073437ee543deb89904045078.tar.xz
mtd: devices: Provide header for shared OPCODEs and SFDP commands
JEDEC have helped to standardise a great deal of the commands which can be issued to a Serial Flash devices. Many of the Serial Flash Discoverable Parameters (SFDP) commands are generic across devices. This patch provides a shared point where these commands can be defined. Suggested-by: Mark Brown <broonie@kernel.org> Acked-by Angus Clark <angus.clark@st.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/devices/st_spi_fsm.c')
-rw-r--r--drivers/mtd/devices/st_spi_fsm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c
index 9fc0b1911fe1..1eea9494d6b7 100644
--- a/drivers/mtd/devices/st_spi_fsm.c
+++ b/drivers/mtd/devices/st_spi_fsm.c
@@ -21,6 +21,8 @@
#include <linux/io.h>
#include <linux/of.h>
+#include "serial_flash_cmds.h"
+
/*
* FSM SPI Controller Registers
*/