From: Jagannadha Sutradharudu Teki Date: Fri, 24 May 2013 20:43:41 +0000 (+0530) Subject: sf: winbond: Correct the nr_blocks used for W25Q32DW X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=ea7fcc5aeb10d2cbb5589e91f36b205dcaf4b7a8;p=u-boot.git sf: winbond: Correct the nr_blocks used for W25Q32DW This patch corrected the nr_blocks used for W25Q32DW SPI flash. nr_blcoks are incorrectly assigned on below patch "sf: winbond: add W25Q32DW" (sha1: 772ba15474f73adc942e817cc072b6e9750836cc) Signed-off-by: Jagannadha Sutradharudu Teki --- diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index a7cd51f562..8457808492 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers/mtd/spi/winbond.c @@ -89,7 +89,7 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { }, { .id = 0x6016, - .nr_blocks = 512, + .nr_blocks = 64, .name = "W25Q32DW", }, {