1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 22:21:16 +02:00

cli_client: Add rpmc command support

This commit adds uses the new rpmc command implementation to
add them as a new feature to the cli_client.
Also adds the necessary documentation for this new feature.

Tested on the Winbond W25R128JV as a 'SFDP-capable chip'.

This patch was done to add rpmc command support to flashrom.
This enables users to write root keys to their flash chips while they
flash data on the chip. This might become useful in the future as rpmc
support is extended in coreboot.
Also adds debug tools to flashrom, which might be useful in
implementing coreboots rpmc support.

Change-Id: I36c823bbee65f256eb6edabe6f058321c9a0cfa1
Signed-off-by: Matti Finder <matti.finder@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/84840
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
This commit is contained in:
Matti Finder
2024-10-30 17:58:05 +01:00
committed by Anastasia Klimchuk
parent 52f062f67a
commit b55469123b
4 changed files with 307 additions and 7 deletions

View File

@ -67,6 +67,16 @@ the entire area with one block.
The tradeoff is the speed of programming operation VS the longevity of
the chip. Default is longevity.
RPMC support added
==================
Adding support for RPMC commands as specified by JESD260 to the cli_client. Main
implementation is in rpmc.c. Also adds new parsing capabilities for the sfdp
page carrying the necessary information. All the features are optional and
depend on libcrypto.
It currently uses automatic feature detection through the corresponding
sfdp page.
Chipset support
===============