Edward O'Callaghan has submitted this change. ( https://review.coreboot.org/c/flashrom/+/70437 )
(
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: layout.h: Add {read,write}_prot flags to flash_region ......................................................................
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 --- M include/layout.h 1 file changed, 24 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Edward O'Callaghan: Looks good to me, approved
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 {