From 906594fa1913805e6306fae4b874fb32c6e40109 Mon Sep 17 00:00:00 2001 From: Jagannadha Sutradharudu Teki Date: Tue, 20 Aug 2013 14:28:44 +0530 Subject: [PATCH] sf: winbond: Add rd|wr_cmd support to W25Q64 Added possible 3-byte address commands support to W25Q64 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/winbond.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index 07841fb46a8..47c39e50048 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers/mtd/spi/winbond.c @@ -72,6 +72,8 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { { .id = 0x4017, .nr_blocks = 128, + .rd_cmd = READ_CMD_FULL, + .wr_cmd = PAGE_PROGRAM | QUAD_PAGE_PROGRAM, .name = "W25Q64CV/W25Q64FV_SPI", }, { @@ -106,6 +108,8 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { { .id = 0x6017, .nr_blocks = 128, + .rd_cmd = READ_CMD_FULL, + .wr_cmd = PAGE_PROGRAM | QUAD_PAGE_PROGRAM, .name = "W25Q64DW/W25Q64FV_QPI", }, { -- 2.47.3