1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-28 23:43:42 +02:00

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>
This commit is contained in:
Nico Huber 2021-05-11 18:50:30 +02:00
parent 78853ff23a
commit b3b860154d

View File

@ -19569,7 +19569,7 @@ const struct flashchip flashchips[] = {
.model_id = PROGDEV_ID, .model_id = PROGDEV_ID,
.total_size = 64, /* This size is set temporarily */ .total_size = 64, /* This size is set temporarily */
.page_size = 256, .page_size = 256,
.feature_bits = FEATURE_4BA, .feature_bits = FEATURE_4BA_READ | FEATURE_4BA_WRITE,
.tested = TEST_OK_PREW, .tested = TEST_OK_PREW,
.probe = probe_variable_size, .probe = probe_variable_size,
.block_erasers = .block_erasers =