From 86bddb5d52659f23531282db137350cbf7fb5992 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 13 Mar 2018 18:14:52 +0100 Subject: Enable 4BA mode for Spansion 25FL256S 4BA mode is entered by setting bit 7 for the extended address register. Change-Id: I807bf55d65763a9f48a6a3377f14f4e5288a7a4c Signed-off-by: Nico Huber Tested-by: Michael Fuckner Reviewed-on: https://review.coreboot.org/25133 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- flashrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flashrom.c') diff --git a/flashrom.c b/flashrom.c index 094630ccf..c41801a96 100644 --- a/flashrom.c +++ b/flashrom.c @@ -2260,7 +2260,7 @@ int prepare_flash_access(struct flashctx *const flash, flash->in_4ba_mode = false; /* Enable/disable 4-byte addressing mode if flash chip supports it */ - if (flash->chip->feature_bits & (FEATURE_4BA_ENTER | FEATURE_4BA_ENTER_WREN)) { + if (flash->chip->feature_bits & (FEATURE_4BA_ENTER | FEATURE_4BA_ENTER_WREN | FEATURE_4BA_ENTER_EAR7)) { int ret; if (spi_master_4ba(flash)) ret = spi_enter_4ba(flash); -- cgit v1.2.3