mtd: st_spi_fsm: Dynamically setup flash device based on JEDEC ID
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:41 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:15 +0000 (04:17 -0700)
commit24fec651d1cc396e6e24631386e0d5dd5f329fbc
tree74073d5715be15601bd61c16e06a8b6c7c0e8414
parent11d7f826639baa25e7930d2b34c84c2d67f85ddc
mtd: st_spi_fsm: Dynamically setup flash device based on JEDEC ID

Using previously added infrastructure we can now extract a device's JEDEC
ID, compare it to a list of known and supported devices and make assumptions
based on known characteristics of a given chip.

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