From: Lee Jones Date: Thu, 20 Mar 2014 09:20:43 +0000 (+0000) Subject: mtd: st_spi_fsm: Use device size to determine address width X-Git-Tag: v3.15-rc1~65^2~39 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b5d1981933b25973b02684dccb17d4282fd4d6d;p=pandora-kernel.git 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 Signed-off-by: Lee Jones Signed-off-by: Brian Norris --- Reading git-diff-tree failed