mtd: st_spi_fsm: Prepare default sequences for read/write/erase
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:56 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:18 +0000 (04:17 -0700)
commit4eb3f0d8f70b667f8a59cc4f74003884562ef17f
tree393b4e6b7145169cc9191ab2fab8d8a12115676e
parent218b870f906b609d37737ee176dc4fcba86163d4
mtd: st_spi_fsm: Prepare default sequences for read/write/erase

Most chips require a predefined set of FSM message sequences for read,
write and erase operations. This patch provides a way to set them up,
which it will do so if a chip specific initialisation routine isn't
been provided.

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>
drivers/mtd/devices/st_spi_fsm.c