Commit 0a9ad40a authored by Emanuele Di Santo's avatar Emanuele Di Santo Committed by Anas Nashif
Browse files

soc: nordic: move mpu_regions.c to common folder and rename



Move mpu_region.c to common folder, to re-use with nRF92.
Rename it to nrf54hx_nrf92x_mpu_regions.c to indicate
which product series it applies to.

Signed-off-by: default avatarEmanuele Di Santo <emdi@nordicsemi.no>
parent d4b1e1e3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -13,6 +13,10 @@ endif()

zephyr_library_sources_ifdef(CONFIG_POWEROFF poweroff.c)

if((CONFIG_SOC_SERIES_NRF54HX OR CONFIG_SOC_SERIES_NRF92X) AND CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS)
  zephyr_library_sources(nrf54hx_nrf92x_mpu_regions.c)
endif()

zephyr_include_directories(.)

if(CONFIG_HAS_NORDIC_DMM)
+0 −2
Original line number Diff line number Diff line
@@ -5,8 +5,6 @@ if(CONFIG_ARM)
  zephyr_library_sources(soc.c)
endif()

zephyr_library_sources_ifdef(CONFIG_CPU_HAS_CUSTOM_FIXED_SOC_MPU_REGIONS mpu_regions.c)

zephyr_include_directories(.)

# Ensure that image size aligns with 16 bytes so that MRAMC finalizes all writes