Commit d6c5dfc7 authored by David Hendricks's avatar David Hendricks Committed by Carl-Daniel Hailfinger
Browse files

Add FEATURE_WRSR_WREN to all Eon SPI flash chips


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.

Corresponding to flashrom svn r1148.
Signed-off-by: default avatarDavid Hendricks <dhendrix@google.com>
Acked-by: default avatarCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
parent 2cbb722c
......@@ -2499,6 +2499,7 @@ struct flashchip flashchips[] = {
.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 @@ struct flashchip flashchips[] = {
.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 @@ struct flashchip flashchips[] = {
.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 @@ struct flashchip flashchips[] = {
.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 @@ struct flashchip flashchips[] = {
.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 @@ struct flashchip flashchips[] = {
.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 @@ struct flashchip flashchips[] = {
.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 @@ struct flashchip flashchips[] = {
.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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment