mtd: st_spi_fsm: Provide device look-up table
authorLee Jones <lee.jones@linaro.org>
Thu, 20 Mar 2014 09:20:40 +0000 (09:20 +0000)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 20 Mar 2014 11:17:15 +0000 (04:17 -0700)
commit11d7f826639baa25e7930d2b34c84c2d67f85ddc
tree580c5e97433b6e0fc7b599cdb76bb65f138341f6
parent5549fbd514b6002073437ee543deb89904045078
mtd: st_spi_fsm: Provide device look-up table

Supply a lookup table of all the devices we intend to support. This table
is used to store device information such as; a human readable device name,
their JEDEC ID (plus the extended version), sector size and amount, a bit
store of a device's capabilities, its maximum running frequency and
possible use of a per-device configuration call-back.

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