Hello,
Over the last few weeks I have been adding support for the Replay protected monotonic counter commands to flashrom. Their functionality is defined in theĀ JESD260 specification [1].
Currently they only work by manually setting the flash chip to use SFDP-capable chip. This is done with `-c "SFDP-capable chip"`. This enables automatic feature detection by parsing the corresponding SFDP-table.
If you want to enable this new feature on supporting flashchips, this is done by setting the FEATURE_FLASH_HARDENING bit and then setting the correct values within the rpmc_ctx struct.
Usage of the commands is explained here [2].
They just made the cutoff and so this new feature will be a part of flashrom v1.5.
Best Regards,
Matti.
[1] https://www.jedec.org/standards-documents/docs/jesd260
[2] https://www.flashrom.org/classic_cli_manpage.html#rpmc-commands