From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jagan Teki Date: Fri, 14 Jun 2013 00:26:10 +0530 Subject: [U-Boot] [PATCH v2 4/8] sf: winbond: Correct the nr_blocks used for W25Q32DW In-Reply-To: References: <1369921773-8871-1-git-send-email-jaganna@xilinx.com> Message-ID: <51BA15CA.5050507@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 30-05-2013 19:19, Jagannadha Sutradharudu Teki wrote: > 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 > --- > Changes for v2: > - none > > drivers/mtd/spi/winbond.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c > index a7cd51f..8457808 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", > }, > { > Applied to u-boot-spi/master -- Thanks, Jagan.