sf: Do not force the DT memory map size to exactly match the device
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>
Fri, 9 Dec 2016 15:03:39 +0000 (15:03 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 15 Dec 2016 15:57:28 +0000 (16:57 +0100)
commitdb9225ba2686d6b7e249d00e1803bd07f71d6070
tree7d3d68e6722c12adaf163dd776ca1e2773638561
parent304decdd31d54ae274f785fb086f3f6ae30a8711
sf: Do not force the DT memory map size to exactly match the device

As long as the memory mapped size specifeid in the DT is the same or
bigger than the device size, it will work. So do not force the sizes
to be identical.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/spi_flash.c