mtd: st_spi_fsm: Provide a method to put the chip into 32bit addressing mode
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:51 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:18 +0000 (04:17 -0700)
commit0de08e43cdda9a2acbd3310491a7882ec43b24b3
treeeb6977d32c95c1ae3ab113dd9fd3ef32c1833d65
parent0ea7d70693431842b6b5c1808f59aa49e3fca6b1
mtd: st_spi_fsm: Provide a method to put the chip into 32bit addressing mode

Most Serial Flash chips support 24bit addressing as a default but more
recent incarnations can support 32bit. Based on information provided
though platform specific data and capabilities we can determine whether
or not our current chip can. This patch provides a means to setup the
FSM message sequence to put the chip into 32bit mode.

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