summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/flashrom.c b/flashrom.c
index c84843f..79ddf76 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -2007,6 +2007,10 @@ int doit(struct flashctx *flash, int force, const char *filename, int read_it,
if (flash->chip->feature_bits & FEATURE_4BA_ONLY) {
msg_cdbg("Flash chip is already in 4-bytes addressing mode.\n");
}
+ /* Do not switch to 4-Bytes Addressing mode if using Extended Address Register */
+ else if(flash->chip->feature_bits & FEATURE_4BA_EXTENDED_ADDR_REG) {
+ msg_cdbg("Using 4-bytes addressing with extended address register.\n");
+ }
/* Go to 4-Bytes Addressing mode */
else {
if (!flash->chip->four_bytes_addr_funcs.enter_4ba) {
OpenPOWER on IntegriCloud