Patrick Rudolph would like Patrick Rudolph to review this change.

View Change

dediprog: Allow 4BA on SF100

Tested on dediprog SF100.

Change-Id: I8822b79f46876feff0fd443f711c57dffb67b349
Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
---
M dediprog.c
1 file changed, 2 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/95/33195/1
diff --git a/dediprog.c b/dediprog.c
index 03675e5..3564f6f 100644
--- a/dediprog.c
+++ b/dediprog.c
@@ -1134,7 +1134,8 @@
if (dediprog_standalone_mode())
return 1;

- if (dediprog_devicetype == DEV_SF600 && protocol() == PROTOCOL_V2)
+ if ((dediprog_devicetype == DEV_SF600 || dediprog_devicetype == DEV_SF100) &&
+ protocol() == PROTOCOL_V2)
spi_master_dediprog.features |= SPI_MASTER_4BA;

if (register_spi_master(&spi_master_dediprog) || dediprog_set_leds(LED_NONE))

To view, visit change 33195. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8822b79f46876feff0fd443f711c57dffb67b349
Gerrit-Change-Number: 33195
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-MessageType: newchange