Author: hailfinger Date: Fri Sep 3 05:18:26 2010 New Revision: 1148 URL: http://flashrom.org/trac/coreboot/changeset/1148
Log: Add FEATURE_WRSR_WREN to feature_bits for many Eon SPI flash chips to indicate that spi_write_status_register() needs WREN instead of EWSR.
Signed-off-by: David Hendricks dhendrix@google.com Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Modified: trunk/flashchips.c
Modified: trunk/flashchips.c ============================================================================== --- trunk/flashchips.c Fri Sep 3 05:06:07 2010 (r1147) +++ trunk/flashchips.c Fri Sep 3 05:18:26 2010 (r1148) @@ -2499,6 +2499,7 @@ .model_id = EN_25B64, .total_size = 8192, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -2598,6 +2599,7 @@ .model_id = EN_25F05, .total_size = 64, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -2633,6 +2635,7 @@ .model_id = EN_25F10, .total_size = 128, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -2668,6 +2671,7 @@ .model_id = EN_25F20, .total_size = 256, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -2703,6 +2707,7 @@ .model_id = EN_25F40, .total_size = 512, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PROBE, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -2735,6 +2740,7 @@ .model_id = EN_25F80, .total_size = 1024, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PR, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -2767,6 +2773,7 @@ .model_id = EN_25F16, .total_size = 2048, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -2799,6 +2806,7 @@ .model_id = EN_25F32, .total_size = 4096, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO,