mtd: st_spi_fsm: Provide the default read/write configurations
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:53 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:18 +0000 (04:17 -0700)
commita37b2f5aee630b35deccb4841a4d60fa45c15b3e
tree4954e97dd38fb15fe310b76bc039328048748959
parent249516c9c3c8665527db89ac871f55a07ecc89b2
mtd: st_spi_fsm: Provide the default read/write configurations

Message sequences can vary depending on how many pads (lines) are
required to address the chip (mode & dummy), how many data pads (lines)
are required to write out to the chip which will determine speed
amongst other things which are detailed by the SFDP specification. We
are able to use multiple configurations for each chip, but they need
to me matched to a device's capabilities. These configurations are
listed in preference order - most preferred first.

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