Author: hailfinger Date: Fri Sep 3 05:06:07 2010 New Revision: 1147 URL: http://flashrom.org/trac/coreboot/changeset/1147
Log: Add FEATURE_WRSR_WREN to feature_bits for all Winbond 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 Wed Sep 1 03:21:34 2010 (r1146) +++ trunk/flashchips.c Fri Sep 3 05:06:07 2010 (r1147) @@ -6842,6 +6842,7 @@ .model_id = W_25Q80, .total_size = 1024, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PREW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -6877,6 +6878,7 @@ .model_id = W_25Q16, .total_size = 2048, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -6912,6 +6914,7 @@ .model_id = W_25Q32, .total_size = 4096, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -6947,6 +6950,7 @@ .model_id = W_25Q64, .total_size = 8192, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PRW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -6982,6 +6986,7 @@ .model_id = W_25X10, .total_size = 128, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -7011,6 +7016,7 @@ .model_id = W_25X20, .total_size = 256, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -7040,6 +7046,7 @@ .model_id = W_25X40, .total_size = 512, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PREW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -7069,6 +7076,7 @@ .model_id = W_25X80, .total_size = 1024, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PREW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -7098,6 +7106,7 @@ .model_id = W_25X16, .total_size = 2048, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PREW, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -7133,6 +7142,7 @@ .model_id = W_25X32, .total_size = 4096, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_OK_PROBE, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO, @@ -7168,6 +7178,7 @@ .model_id = W_25X64, .total_size = 8192, .page_size = 256, + .feature_bits = FEATURE_WRSR_WREN, .tested = TEST_UNTESTED, .probe = probe_spi_rdid, .probe_timing = TIMING_ZERO,