Joseph Goh has uploaded this change for review.

View Change

flashchips: add support for MX25V16066/KH25V16066

Change-Id: Ic5f0548f023fcd09a970148586497e00414ad1ae
Signed-off-by: Joseph Goh <josephgoh7@gmail.com>
---
M flashchips.c
1 file changed, 48 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/78/68278/1
diff --git a/flashchips.c b/flashchips.c
index 47a37ee..5bd09e7 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -8510,6 +8510,44 @@

{
.vendor = "Macronix",
+ .name = "MX25V16066", // was called KH25V16066 in rev v1.3
+ .bustype = BUS_SPI,
+ .manufacture_id = MACRONIX_ID,
+ .model_id = MACRONIX_MX25L1605,
+ .total_size = 2048, // 16M-bits
+ .page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
+ .tested = TEST_OK_PR,
+ .probe = probe_spi_rdid,
+ .probe_timing = TIMING_ZERO,
+ .block_erasers =
+ {
+ {
+ .eraseblocks = { {4 * 1024, 512} },
+ .block_erase = spi_block_erase_20,
+ }, {
+ .eraseblocks = { {32 * 1024, 64} },
+ .block_erase = spi_block_erase_52,
+ }, {
+ .eraseblocks = { {64 * 1024, 32} },
+ .block_erase = spi_block_erase_d8,
+ }, {
+ .eraseblocks = { {2 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_60,
+ }, {
+ .eraseblocks = { {2 * 1024 * 1024, 1} },
+ .block_erase = spi_block_erase_c7,
+ },
+ },
+ .printlock = spi_prettyprint_status_register_bp3_srwd,
+ .unlock = spi_disable_blockprotect_bp3_srwd,
+ .write = spi_chip_write_256,
+ .read = spi_chip_read, /* Fast read (0x0B) supported */
+ .voltage = {2700, 3600},
+ },
+
+ {
+ .vendor = "Macronix",
.name = "MX25L1605A/MX25L1606E/MX25L1608E",
.bustype = BUS_SPI,
.manufacture_id = MACRONIX_ID,

To view, visit change 68278. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ic5f0548f023fcd09a970148586497e00414ad1ae
Gerrit-Change-Number: 68278
Gerrit-PatchSet: 1
Gerrit-Owner: Joseph Goh <josephgoh7@gmail.com>
Gerrit-MessageType: newchange