Attention is currently required from: Edward O'Callaghan.

Nikolai Artemiev would like Edward O'Callaghan to review this change.

View Change

layout.h: Add {read,write}_prot flags to flash_region

Add protection bits to `struct flash_region` to keep track of the CSME
restrictions for each flash region.

BUG=b:260440773
BRANCH=none
TEST=builds

Change-Id: I0e5b3b4369dc868a8a64338935c5c5249b9a4ada
CoAuthored-by: Edward O'Callaghan <quasisec@google.com>
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Signed-off-by: Nikolai Artemiev <nartemiev@google.com>
---
M include/layout.h
1 file changed, 21 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/37/70437/1
diff --git a/include/layout.h b/include/layout.h
index 6959ef7..70d99cb 100644
--- a/include/layout.h
+++ b/include/layout.h
@@ -39,6 +39,8 @@
char *name;
chipoff_t start;
chipoff_t end;
+ bool read_prot;
+ bool write_prot;
};

struct romentry {

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I0e5b3b4369dc868a8a64338935c5c5249b9a4ada
Gerrit-Change-Number: 70437
Gerrit-PatchSet: 1
Gerrit-Owner: Nikolai Artemiev <nartemiev@google.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Attention: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-MessageType: newchange