diff --git a/tockloader/board_interface.py b/tockloader/board_interface.py index c644fff..6f63c1d 100644 --- a/tockloader/board_interface.py +++ b/tockloader/board_interface.py @@ -291,6 +291,18 @@ class BoardInterface: "max_size": 0x00100000, }, }, + "opentitan_earlgrey_secure_boot": { + "description": "OpenTitan EarlGrey chip targeting the Earlgrey-M2.5.2-RC0 hardware with secure boot", + "arch": "rv32imc", + "page_size": 512, + "no_attribute_table": True, + "address_translator": lambda addr: addr - 0x20010000, + "flash_file": { + # Set to the half of maximum flash size, to keep image sizes smaller + # (also ensures room for data at end of flash). + "max_size": 0x00070000, + }, + }, } def __init__(self, args):