summaryrefslogtreecommitdiffstats
path: root/dediprog.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2018-12-22 16:54:59 +0100
committerNico Huber <nico.h@gmx.de>2019-04-02 16:55:43 +0000
commitdc5af547df8b2f852deb5ddad86bb90ff0fc50c0 (patch)
tree3b23dcce1e43e520ca0a6db314d6920a89b1f72a /dediprog.c
parent3d7b1e3b5c04304d3680bd950e7672f6336b01d6 (diff)
downloadflashrom-dc5af547df8b2f852deb5ddad86bb90ff0fc50c0.tar.gz
flashrom-dc5af547df8b2f852deb5ddad86bb90ff0fc50c0.tar.bz2
flashrom-dc5af547df8b2f852deb5ddad86bb90ff0fc50c0.zip
dediprog: Disable 4BA completelyv1.1-rc1
This is an interim solution. We'll have to enable 4BA step-by-step for each dediprog protocol version. Change-Id: I08efcbb09ab3499ef6902a698e9ce3d6232237c4 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/30386 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Diffstat (limited to 'dediprog.c')
-rw-r--r--dediprog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dediprog.c b/dediprog.c
index 44a0018d8..c99c92256 100644
--- a/dediprog.c
+++ b/dediprog.c
@@ -933,6 +933,7 @@ static int parse_voltage(char *voltage)
static const struct spi_master spi_master_dediprog = {
.type = SPI_CONTROLLER_DEDIPROG,
+ .features = SPI_MASTER_NO_4BA_MODES,
.max_data_read = 16, /* 18 seems to work fine as well, but 19 times out sometimes with FW 5.15. */
.max_data_write = 16,
.command = dediprog_spi_send_command,