diff options
author | Wolfgang Denk <wd@denx.de> | 2010-10-11 09:52:16 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-11 09:52:16 +0200 |
commit | 02b117d42b1bff19b210ac258a1ef5cf58229274 (patch) | |
tree | fd7797bcba1fc5de45ad034840338d6823464b35 /drivers/mtd/spi/winbond.c | |
parent | 59336459042a5fccb2dda9cfbb592802c88f583d (diff) | |
parent | 21032b35a0535528c878c1bfde35570dc4c3ff4b (diff) |
Merge branch 'sf' of git://git.denx.de/u-boot-blackfin
Diffstat (limited to 'drivers/mtd/spi/winbond.c')
-rw-r--r-- | drivers/mtd/spi/winbond.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index ff1df25a1d..de3aeb810a 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers/mtd/spi/winbond.c @@ -27,6 +27,7 @@ #define WINBOND_ID_W25X16 0x3015 #define WINBOND_ID_W25X32 0x3016 #define WINBOND_ID_W25X64 0x3017 +#define WINBOND_ID_W25Q64 0x4017 #define WINBOND_SR_WIP (1 << 0) /* Write-in-Progress */ @@ -77,6 +78,14 @@ static const struct winbond_spi_flash_params winbond_spi_flash_table[] = { .nr_blocks = 128, .name = "W25X64", }, + { + .id = WINBOND_ID_W25Q64, + .l2_page_size = 8, + .pages_per_sector = 16, + .sectors_per_block = 16, + .nr_blocks = 128, + .name = "W25Q64", + }, }; static int winbond_wait_ready(struct spi_flash *flash, unsigned long timeout) |