Attention is currently required from: Reka Norman, Stefan Reinauer.

Subrata Banik uploaded patch set #3 to this change.

View Change

util/ifdtool: Add new cmdline to enable GPR0 protection

This patch adds new cmdline `-E` support in the IFD Tool so that
users (mostly factory) can enable GPR0 protection.
Additionally, perform some code refactoring while adding support
for enable GPR0 protection.

BUG=b:270275115
TEST=Able to test GPR0 protection on google/rex and google/yahiko.

> ifdtool -p mtl -E image.bin -O image.bin_lock

--------- GPR0 Protected Range --------------
Start address = 0x00004000
End address = 0x00322fff

Change-Id: I27c533ae4109c79299f4e7ff75e750d7cc64280f
Signed-off-by: Subrata Banik <subratabanik@google.com>
---
M util/ifdtool/ifdtool.c
M util/ifdtool/ifdtool.h
2 files changed, 187 insertions(+), 15 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/80235/3

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

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: I27c533ae4109c79299f4e7ff75e750d7cc64280f
Gerrit-Change-Number: 80235
Gerrit-PatchSet: 3
Gerrit-Owner: Subrata Banik <subratabanik@google.com>
Gerrit-Reviewer: Reka Norman <rekanorman@chromium.org>
Gerrit-Reviewer: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-CC: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Reka Norman <rekanorman@chromium.org>
Gerrit-Attention: Stefan Reinauer <stefan.reinauer@coreboot.org>
Gerrit-MessageType: newpatchset