[U-Boot] [PATCH 10/12] sf: probe: Update sector_size for W25* parts
Jagannadha Sutradharudu Teki
jagannadha.sutradharudu-teki at xilinx.com
Sun Aug 4 23:20:33 CEST 2013
Updated/Corrected the sector_size as per the datasheets.
Signed-off-by: Jagannadha Sutradharudu Teki <jaganna at xilinx.com>
---
drivers/mtd/spi/spi_flash_probe.c | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c
index 1be55b3..3ffc94f 100644
--- a/drivers/mtd/spi/spi_flash_probe.c
+++ b/drivers/mtd/spi/spi_flash_probe.c
@@ -74,24 +74,24 @@ static const struct {
{"N25Q1024A", 0x20bb21, 0x0, 64 * 1024, 2048},
/* WINBOND */
- {"W25P80", 0xef2014, 0x0, 65536, 16},
- {"W25P16", 0xef2015, 0x0, 65536, 32},
- {"W25P32", 0xef2016, 0x0, 65536, 64},
- {"W25X40", 0xef3013, 0x0, 4096, 8},
- {"W25X16", 0xef3015, 0x0, 4096, 32},
- {"W25X32", 0xef3016, 0x0, 4096, 64},
- {"W25X64", 0xef3017, 0x0, 4096, 128},
- {"W25Q80BL", 0xef4014, 0x0, 4096, 16},
- {"W25Q16CL", 0xef4015, 0x0, 4096, 32},
- {"W25Q32BV", 0xef4016, 0x0, 4096, 64},
- {"W25Q64CV", 0xef4017, 0x0, 4096, 128},
- {"W25Q128BV", 0xef4018, 0x0, 4096, 256},
- {"W25Q256", 0xef4019, 0x0, 4096, 512},
- {"W25Q80BW", 0xef5014, 0x0, 4096, 16},
- {"W25Q16DW", 0xef6015, 0x0, 4096, 32},
- {"W25Q32DW", 0xef6016, 0x0, 4096, 64},
- {"W25Q64DW", 0xef6017, 0x0, 4096, 128},
- {"W25Q128FW", 0xef6018, 0x0, 4096, 256},
+ {"W25P80", 0xef2014, 0x0, 64 * 1024, 16},
+ {"W25P16", 0xef2015, 0x0, 64 * 1024, 32},
+ {"W25P32", 0xef2016, 0x0, 64 * 1024, 64},
+ {"W25X40", 0xef3013, 0x0, 64 * 1024, 8},
+ {"W25X16", 0xef3015, 0x0, 64 * 1024, 32},
+ {"W25X32", 0xef3016, 0x0, 64 * 1024, 64},
+ {"W25X64", 0xef3017, 0x0, 64 * 1024, 128},
+ {"W25Q80BL", 0xef4014, 0x0, 64 * 1024, 16},
+ {"W25Q16CL", 0xef4015, 0x0, 64 * 1024, 32},
+ {"W25Q32BV", 0xef4016, 0x0, 64 * 1024, 64},
+ {"W25Q64CV", 0xef4017, 0x0, 64 * 1024, 128},
+ {"W25Q128BV", 0xef4018, 0x0, 64 * 1024, 256},
+ {"W25Q256", 0xef4019, 0x0, 64 * 1024, 512},
+ {"W25Q80BW", 0xef5014, 0x0, 64 * 1024, 16},
+ {"W25Q16DW", 0xef6015, 0x0, 64 * 1024, 32},
+ {"W25Q32DW", 0xef6016, 0x0, 64 * 1024, 64},
+ {"W25Q64DW", 0xef6017, 0x0, 64 * 1024, 128},
+ {"W25Q128FW", 0xef6018, 0x0, 64 * 1024, 256},
/*
* Note:
* Below paired flash devices has similar spi_flash_ids attributes.
--
1.8.3
More information about the U-Boot
mailing list