Skip to content

Commit

Permalink
[rom] Reclaim 662 bytes of unused space
Browse files Browse the repository at this point in the history
We have been padding the `.crt` section out to consume the whole of
`epmp_reset_rx_size` (the size of the initial EPMP executable region
coming out of reset).

Reclaim this unused space for ROM code.

Signed-off-by: Chris Frantz <[email protected]>
  • Loading branch information
cfrantz committed Jun 6, 2024
1 parent 7803122 commit ca6e918
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sw/device/silicon_creator/rom/rom.ld
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ SECTIONS {
ASSERT(
SIZEOF(.vectors) + SIZEOF(.crt) <= _epmp_reset_rx_size,
"Error: .crt overflows reset ePMP region");
. = MAX(., _epmp_reset_rx_size - SIZEOF(.vectors));
} > rom

/**
Expand Down

0 comments on commit ca6e918

Please sign in to comment.