soc: move arm cortex_m common mpu code to arch/arm/core/mpu

Locate common mpu code together with other arm / nxp mpu code in the
arch folder where it logically belongs.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
This commit is contained in:
Torsten Rasmussen 2023-10-26 22:25:40 +02:00 committed by Carles Cufí
commit 3e82eb976e
4 changed files with 5 additions and 16 deletions

View file

@ -1,10 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
add_subdirectory_ifdef(CONFIG_CPU_CORTEX_M common/cortex_m)
if(SOC_FAMILY)
add_subdirectory(${SOC_FAMILY})
else()
add_subdirectory(${SOC_NAME})
endif()