summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2021-05-11 18:50:30 +0200
committerNico Huber <nico.h@gmx.de>2021-05-12 23:03:02 +0000
commitb3b860154ddb69f0596c2ee98fb1da21091ecc84 (patch)
tree821dd4bbc5941d22c94d8f2a206a684862d0d84c
parent78853ff23a5c686f8a6fa08c131ae5b0556fd78a (diff)
downloadflashrom-b3b860154ddb69f0596c2ee98fb1da21091ecc84.tar.gz
flashrom-b3b860154ddb69f0596c2ee98fb1da21091ecc84.tar.bz2
flashrom-b3b860154ddb69f0596c2ee98fb1da21091ecc84.zip
flashchips: Fix 4BA advertisement for dummy chip
The dummyflasher only supports the native 4BA read and write commands, so only advertise these. Change-Id: Ia7340835ce1680d197f250bdb5990ab2ffe3671f Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54068 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
-rw-r--r--flashchips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/flashchips.c b/flashchips.c
index 6482f673a..007bcc9ca 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -19569,7 +19569,7 @@ const struct flashchip flashchips[] = {
.model_id = PROGDEV_ID,
.total_size = 64, /* This size is set temporarily */
.page_size = 256,
- .feature_bits = FEATURE_4BA,
+ .feature_bits = FEATURE_4BA_READ | FEATURE_4BA_WRITE,
.tested = TEST_OK_PREW,
.probe = probe_variable_size,
.block_erasers =