[flashrom] [commit] r1149 - trunk
repository service
svn at flashrom.org
Fri Sep 3 05:32:22 CEST 2010
Author: hailfinger
Date: Fri Sep 3 05:32:22 2010
New Revision: 1149
URL: http://flashrom.org/trac/coreboot/changeset/1149
Log:
Add FEATURE_WRSR_WREN to feature_bits for some AMIC SPI flash chips
to indicate that spi_write_status_register() needs WREN instead of EWSR.
Signed-off-by: David Hendricks <dhendrix at google.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Modified:
trunk/flashchips.c
Modified: trunk/flashchips.c
==============================================================================
--- trunk/flashchips.c Fri Sep 3 05:18:26 2010 (r1148)
+++ trunk/flashchips.c Fri Sep 3 05:32:22 2010 (r1149)
@@ -643,6 +643,7 @@
.model_id = AMIC_A25L512,
.total_size = 64,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -672,6 +673,7 @@
.model_id = AMIC_A25L010,
.total_size = 128,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -701,6 +703,7 @@
.model_id = AMIC_A25L020,
.total_size = 256,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -730,6 +733,7 @@
.model_id = AMIC_A25L040,
.total_size = 512,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -759,6 +763,7 @@
.model_id = AMIC_A25L080,
.total_size = 1024,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -788,6 +793,7 @@
.model_id = AMIC_A25L016,
.total_size = 2048,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -817,6 +823,7 @@
.model_id = AMIC_A25L032,
.total_size = 4096,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
@@ -852,6 +859,7 @@
.model_id = AMIC_A25LQ032,
.total_size = 4096,
.page_size = 256,
+ .feature_bits = FEATURE_WRSR_WREN,
.tested = TEST_UNTESTED,
.probe = probe_spi_rdid,
.probe_timing = TIMING_ZERO,
More information about the flashrom
mailing list