]> git.sur5r.net Git - u-boot/commitdiff
sf: winbond: Correct the nr_blocks used for W25Q32DW
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Fri, 24 May 2013 20:43:41 +0000 (02:13 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Thu, 13 Jun 2013 18:12:46 +0000 (23:42 +0530)
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 <jaganna@xilinx.com>
drivers/mtd/spi/winbond.c

index a7cd51f5625ee39de7d86b16b94eced55febb9ae..845780849273078251da183bf66e50659a95e42d 100644 (file)
@@ -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",
        },
        {