commit | 3b5d1981933b25973b02684dccb17d4282fd4d6d | [log] [tgz] |
---|---|---|
author | Lee Jones <lee.jones@linaro.org> | Thu Mar 20 09:20:43 2014 +0000 |
committer | Brian Norris <computersforpeace@gmail.com> | Thu Mar 20 04:17:16 2014 -0700 |
tree | bf05d43445067666b3647f7ee04efc0430425c41 | |
parent | 089812740d42104d7b9eef803a34a3940d03bcd4 [diff] |
mtd: st_spi_fsm: Use device size to determine address width Take some known parameters, namely size and number of sectors and use them to determine weather a device can support 32bit addressing or not. If it can, set the associated flash capability flag for latter use. 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>