Skip to content

Commit ef86bc5

Browse files
mswarowskyjukkar
authored andcommitted
[nrf noup] soc: arm: nRF53: Add SPU Flash/RAM alignment
TF-M will uses SPU alignment during build time to make sure all partitions can be locked down with the SPU. So adding them for nRF53 Signed-off-by: Markus Swarowsky <[email protected]> (cherry picked from commit bc60d5c)
1 parent ddb888a commit ef86bc5

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

soc/nordic/nrf53/Kconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,26 @@ config NRF_SPU_FLASH_REGION_SIZE
167167
help
168168
FLASH region size for the NRF_SPU peripheral
169169

170+
config NRF_SPU_FLASH_REGION_ALIGNMENT
171+
hex
172+
default 0x4000
173+
help
174+
FLASH regions must be aligned to this value due to SPU HW
175+
limitations.
176+
170177
config NRF_SPU_RAM_REGION_SIZE
171178
hex
172179
default 0x2000
173180
help
174181
RAM region size for the NRF_SPU peripheral
175182

183+
config NRF_SPU_RAM_REGION_ALIGNMENT
184+
hex
185+
default 0x2000
186+
help
187+
RAM regions must be aligned to this value due to SPU HW
188+
limitations.
189+
176190
config SOC_NRF_GPIO_FORWARDER_FOR_NRF5340
177191
bool "Forward GPIO pins to network core"
178192
depends on NRF_SOC_SECURE_SUPPORTED

0 commit comments

Comments
 (0)