Browse Source

sf: winbond: Add support for the Winbond W25X40

The Winbond W25X40 is now being used in the IP02 (and possibly IP04).
Tested and working on the actual device.
James Le Cuirot 14 năm trước cách đây
mục cha
commit
ad8e3bd657
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      drivers/mtd/spi/winbond.c

+ 8 - 0
drivers/mtd/spi/winbond.c

@@ -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,