]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sf: winbond: Add support for the Winbond W25X40
authorJames Le Cuirot <chewi@aura-online.co.uk>
Fri, 15 Jul 2011 06:12:51 +0000 (06:12 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Sep 2011 14:03:00 +0000 (16:03 +0200)
The Winbond W25X40 is now being used in the IP02 (and possibly IP04).
Tested and working on the actual device.

drivers/mtd/spi/winbond.c

index 45bd1461eb3a68e4f46d07c8fabf1c2258eb3336..a6a66537ba35d233ba6bc0a3b644ab935824f912 100644 (file)
@@ -35,6 +35,14 @@ struct winbond_spi_flash_params {
 };
 
 static const struct winbond_spi_flash_params winbond_spi_flash_table[] = {
+       {
+               .id                     = 0x3013,
+               .l2_page_size           = 8,
+               .pages_per_sector       = 16,
+               .sectors_per_block      = 16,
+               .nr_blocks              = 8,
+               .name                   = "W25X40",
+       },
        {
                .id                     = 0x3015,
                .l2_page_size           = 8,