diff --git a/arch/arm/core/cortex_m/mpu/arm_mpu.c b/arch/arm/core/cortex_m/mpu/arm_mpu.c index 2705a0e0ebf..30d93c94439 100644 --- a/arch/arm/core/cortex_m/mpu/arm_mpu.c +++ b/arch/arm/core/cortex_m/mpu/arm_mpu.c @@ -9,7 +9,6 @@ #include #include #include "arm_core_mpu_dev.h" -#include #include #define LOG_LEVEL CONFIG_MPU_LOG_LEVEL diff --git a/arch/arm/core/cortex_m/mpu/nxp_mpu.c b/arch/arm/core/cortex_m/mpu/nxp_mpu.c index 96bdb8b3f91..3dcec2909c5 100644 --- a/arch/arm/core/cortex_m/mpu/nxp_mpu.c +++ b/arch/arm/core/cortex_m/mpu/nxp_mpu.c @@ -9,7 +9,6 @@ #include #include #include "arm_core_mpu_dev.h" -#include #include #include diff --git a/include/arch/arm/cortex_m/mpu/arm_core_mpu.h b/include/arch/arm/cortex_m/mpu/arm_core_mpu.h deleted file mode 100644 index 83b1ebe6e59..00000000000 --- a/include/arch/arm/cortex_m/mpu/arm_core_mpu.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (c) 2017 Linaro Limited. - * - * SPDX-License-Identifier: Apache-2.0 - */ -#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MPU_ARM_CORE_MPU_H_ -#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MPU_ARM_CORE_MPU_H_ - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -/** - * @brief Use the HW-specific MPU driver to program - * the static MPU regions. - * - * Program the static MPU regions through the HW-specific - * MPU driver. The function is meant to be invoked once, - * during system initialization. - */ -void z_arch_configure_static_mpu_regions(void); - -/** - * @brief Use the HW-specific MPU driver to program - * the dynamic MPU regions. - * - * Program the dynamic MPU regions using the HW-specific MPU - * driver. This function is meant to be invoked every time the - * memory map is to be re-programmed, e.g during thread context - * switch, entering user mode, reconfiguring memory domain, etc. - * - * @param thread pointer to the current k_thread context - */ -void z_arch_configure_dynamic_mpu_regions(struct k_thread *thread); - -#ifdef __cplusplus -} -#endif - -#endif /* ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MPU_ARM_CORE_MPU_H_ */