Skip to content

Commit

Permalink
[otp] add flash data region config to generic SKU image
Browse files Browse the repository at this point in the history
This updates the generic Earlgrey SKU OTP CREATOR_SW_CFG partition to
enable flash scrambling.

Signed-off-by: Tim Trippel <[email protected]>
  • Loading branch information
timothytrippel committed Oct 24, 2023
1 parent 7dd3d48 commit c2ea8e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hw/ip/otp_ctrl/data/earlgrey_a0_skus/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ otp_json(
# `kSigverifySpxDisabledOtp` and `kSigverifySpxEnabledOtp` in
# sw/device/silicon_creator/lib/sigverify/spx_verify.h.
"CREATOR_SW_CFG_SIGVERIFY_SPX_EN": otp_hex(0x8d6c8c17),
# Enable flash data page scrambling and ECC.
"CREATOR_SW_CFG_FLASH_DATA_DEFAULT_CFG": "0000090606",
# Enable use of entropy for countermeasures. See the definition
# of `hardened_bool_t` in sw/device/lib/base/hardened.h.
"CREATOR_SW_CFG_RNG_EN": otp_hex(CONST.HARDENED_TRUE),
Expand Down

0 comments on commit c2ea8e2

Please sign in to comment.