Skip to content

Commit

Permalink
feat: Add opentitan_earlgrey_rom_ext board to KNOWN_BOARDS
Browse files Browse the repository at this point in the history
  • Loading branch information
pqcfox committed Jul 19, 2024
1 parent ddf0f86 commit 2b04068
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tockloader/board_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,17 @@ class BoardInterface:
"max_size": 0x00100000,
},
},
"opentitan_earlgrey_rom_ext": {
"description": "OpenTitan EarlGrey chip with ROM_EXT targeting the Earlgrey-M2.5.2-RC0 hardware",
"arch": "rv32imc",
"page_size": 512,
"no_attribute_table": True,
"address_translator": lambda addr: addr - 0x20010000,
"flash_file": {
# Set to the maximum flash size.
"max_size": 0x00100000,
},
},
}

def __init__(self, args):
Expand Down

0 comments on commit 2b04068

Please sign in to comment.