Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3116)

Unified Diff: drivers/mtd/spi/winbond.c

Issue 4182008: SPI: flash: winbond: add Winbond W25Q32BV support (4MB SPI flash) (Closed) Base URL: http://git.chromium.org/git/u-boot
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/mtd/spi/winbond.c
diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c
index bfd5bbf71f93f15141867e176931d66819a7bb0a..4fc8a0ff78f6b8ca7ee749b63b87017817c6b522 100644
--- a/drivers/mtd/spi/winbond.c
+++ b/drivers/mtd/spi/winbond.c
@@ -34,6 +34,7 @@
#define WINBOND_ID_W25X64 0x3017
#define WINBOND_ID_W25Q16B 0x4015
+#define WINBOND_ID_W25Q32B 0x4016
#define WINBOND_SR_WIP (1 << 0) /* Write-in-Progress */
@@ -124,6 +125,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
.nr_blocks = 32,
.name = "W25Q16B",
},
+ {
+ .id = WINBOND_ID_W25Q32B,
+ .l2_page_size = 8,
+ .pages_per_sector = 16,
+ .sectors_per_block = 16,
+ .nr_blocks = 64,
+ .name = "W25Q32B",
+ },
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698