[U-Boot] [PATCH 2/8] SPI: Add W25Q32 to Winbond SPI flash table
Rajeshwari Shinde
rajeshwari.s at samsung.com
Tue Jul 31 12:42:34 CEST 2012
Daisy has a different Winbond part as compared to the SMDK.
Add the part details to the SPI flash table.
Signed-off-by: Abhilash Kesavan <a.kesavan at samsung.com>
Signed-off-by: Rajeshwari Shinde <rajeshwari.s at samsung.com>
---
drivers/mtd/spi/winbond.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index c20faa2..b345efc 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -107,6 +107,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
.nr_blocks = 256,
.name = "W25Q128",
},
+ {
+ .id = 0x5014,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 128,
+ .name = "W25Q80",
+ },
};
static int winbond_erase(struct spi_flash *flash, u32 offset, size_t len)
--
1.7.4.4
More information about the U-Boot
mailing list