]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: st_spi_fsm: Erase partly or as a whole a Serial Flash device
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:21:00 +0000 (09:21 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:20 +0000 (04:17 -0700)
commit4a341fe758657850cbf6d2c36ee9029c0210e3c5
treef47ac8e5a4ccbe47273af8d0dcdb081d43d6eb72
parent176b437762a310d5ac7ed3c015ece9dd65c7e240
mtd: st_spi_fsm: Erase partly or as a whole a Serial Flash device

When an erase is requested by userspace the MTD framework calls back
into the driver to conduct the actual command issue. Here we provide the
routines which do exactly that. We can choose to either do an entire chip
erase or by sector.

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