Skip to content

Commit

Permalink
[signing] Enable signing silicon_creator code with a token
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Frantz <[email protected]>
  • Loading branch information
cfrantz committed Dec 10, 2024
1 parent 5d2dd80 commit f45f06c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hw/top_earlgrey/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,11 @@ silicon(
"--interface={interface}",
],
design = "earlgrey",
# TODO: Add switch to enable privdate key.
ecdsa_key = {"//sw/device/silicon_creator/rom/keys/fake/ecdsa:test_key_0_ecdsa_p256": "test_key_0"},
ecdsa_key = select({
"//signing:test_keys": {"//sw/device/silicon_creator/rom/keys/fake/ecdsa:test_key_0_ecdsa_p256": "test_key_0"},
# We choose key zero in the keyset, which should be `*-earlgrey-a1-root-ecdsa-prod-0`.
"//conditions:default": {"//signing:appkey": "0"},
}),
exec_env = "silicon_creator",
extract_sw_logs = "//util/device_sw_utils:extract_sw_logs_db",
flash_scramble_tool = "//util/design:gen-flash-img",
Expand Down

0 comments on commit f45f06c

Please sign in to comment.