summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Hendricks <dhendrix@google.com>2010-09-03 03:35:48 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-09-03 03:35:48 +0000
commit67db2eb92c3f4858528d19e7921b08c5ec6dbdc9 (patch)
treeebc61c3ef91ae343d2047d3ee9dca82515b1c528
parent6c51cfd481153676dfd5fc797342acec294ca92d (diff)
downloadflashrom-67db2eb92c3f4858528d19e7921b08c5ec6dbdc9.tar.gz
flashrom-67db2eb92c3f4858528d19e7921b08c5ec6dbdc9.tar.bz2
flashrom-67db2eb92c3f4858528d19e7921b08c5ec6dbdc9.zip
Add FEATURE_WRSR_WREN to all Macronix SPI flash chips
Add FEATURE_WRSR_WREN to feature_bits for all Macronix SPI flash chips to indicate that spi_write_status_register() needs WREN instead of EWSR. Corresponding to flashrom svn r1150. Signed-off-by: David Hendricks <dhendrix@google.com> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
-rw-r--r--flashchips.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/flashchips.c b/flashchips.c
index 35e9d1b4e..b97baf385 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3383,6 +3383,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L512,
.total_size = 64,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3418,6 +3419,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L1005,
.total_size = 128,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3450,6 +3452,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L2005,
.total_size = 256,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3485,6 +3488,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L4005,
.total_size = 512,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_OK_PRW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3520,6 +3524,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L8005,
.total_size = 1024,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_OK_PREW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3555,6 +3560,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L1605,
.total_size = 2048,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_OK_PRW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3590,6 +3596,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L1635D,
.total_size = 2048,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3622,6 +3629,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L3205,
.total_size = 4096,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_OK_PRW,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3654,6 +3662,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L3235D,
.total_size = 4096,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3686,6 +3695,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L6405,
.total_size = 8192,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_OK_PROBE,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -3718,6 +3728,7 @@ struct flashchip flashchips[] = {
.model_id = MX_25L12805,
.total_size = 16384,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,