Skip to content

Commit

Permalink
[ot] scripts/opentitan: fix store address when second bank is selected
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Blot <[email protected]>
  • Loading branch information
rivos-eblot committed Aug 30, 2023
1 parent 29320b9 commit cb44ca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/opentitan/flashgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ def store_ot_files(self, otdescs: List[str]) -> None:
except ValueError as exc:
raise ValueError('Invalid address in OT descriptor') from exc
bank = address // self.BYTES_PER_BANK
address %= self.BYTES_PER_BANK
kind = 'rom_ext' if address < self.CHIP_ROM_EXT_SIZE_MAX else \
'bootloader'
self._log.info(
Expand Down

0 comments on commit cb44ca6

Please sign in to comment.