mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-26 22:52:34 +02:00
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> Reviewed-on: https://review.coreboot.org/c/flashrom/+/70437 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
66655b7423
commit
e712c39507
@ -39,6 +39,8 @@ struct flash_region {
|
||||
char *name;
|
||||
chipoff_t start;
|
||||
chipoff_t end;
|
||||
bool read_prot;
|
||||
bool write_prot;
|
||||
};
|
||||
|
||||
struct romentry {
|
||||
|
Loading…
x
Reference in New Issue
Block a user