mtd/spi: fix block count for is25lq040b
authorSean Nyekjaer <sean.nyekjaer@prevas.dk>
Fri, 15 Dec 2017 07:51:54 +0000 (08:51 +0100)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 19 Dec 2017 12:03:48 +0000 (17:33 +0530)
commit065592b40b41b11ee66d8ff71a55156bf1b35088
tree75056a1b634ceab45033fb13cf4854f99f83c00a
parent7ed8a0245ef5bc317d1381584c783cbf2525fb07
mtd/spi: fix block count for is25lq040b

This spi-nor is 4Mbit/512KB

Fixes: b4fbcbc5a5 ("mtd/spi: add support for is25lq040b")
Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/spi_flash_ids.c