Attention is currently required from: Reka Norman, Stefan Reinauer.
Hello Reka Norman, Stefan Reinauer, build bot (Jenkins),
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/80235?usp=email
to look at the new patch set (#4).
The following approvals got outdated and were removed: Code-Review+2 by Stefan Reinauer, Verified+1 by build bot (Jenkins)
The change is no longer submittable: Code-Review and Verified are unsatisfied now.
Change subject: util/ifdtool: Add new cmdline to enable GPR0 protection ......................................................................
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
... Value at GPRD offset (64) is 0x83220004 --------- GPR0 Protected Range -------------- Start address = 0x00004000 End address = 0x00322fff ... GPR0 protection is now enabled
Change-Id: I27c533ae4109c79299f4e7ff75e750d7cc64280f Signed-off-by: Subrata Banik subratabanik@google.com --- M util/ifdtool/ifdtool.c M util/ifdtool/ifdtool.h 2 files changed, 230 insertions(+), 24 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/35/80235/4