summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorSergii Dmytruk <sergii.dmytruk@3mdeb.com>2021-12-19 18:37:51 +0200
committerAnastasia Klimchuk <aklm@chromium.org>2022-04-29 00:37:00 +0000
commitdbbe1588b208204e19acebfb8b579bbdbe2e145e (patch)
tree6290961beaf8c387d1cb322d3b52ffd798fe3f3a /flash.h
parentdcac005071c058c2acd239eabcf00ce133c32823 (diff)
downloadflashrom-dbbe1588b208204e19acebfb8b579bbdbe2e145e.tar.gz
flashrom-dbbe1588b208204e19acebfb8b579bbdbe2e145e.tar.bz2
flashrom-dbbe1588b208204e19acebfb8b579bbdbe2e145e.zip
spi25_statusreg.c: add SR3 read/write support
Adds support for reading and writing the third status register. Feature flag is not needed because it would never on its own control whether SR3 access occurs. If added, it would be in one of three possible states: wrong, useless or redundant. Change-Id: Id987c544c02da2b956e6ad2c525265cac8f15be1 Signed-off-by: Sergii Dmytruk <sergii.dmytruk@3mdeb.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/60230 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Nikolai Artemiev <nartemiev@google.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flash.h b/flash.h
index b283c6cb2..509f2266f 100644
--- a/flash.h
+++ b/flash.h
@@ -174,6 +174,7 @@ enum flash_reg {
INVALID_REG = 0,
STATUS1,
STATUS2,
+ STATUS3,
MAX_REGISTERS
};