armv8-m:MPU fix CONFIG naming to include ARM

This commit is contained in:
David Sidrane 2024-05-24 08:12:28 -07:00 committed by Xiang Xiao
parent 53307ea9b2
commit 602e69a810
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ unsigned int mpu_allocregion(void)
*
****************************************************************************/
#if defined(CONFIG_MPU_RESET) || defined(CONFIG_ARM_MPU_EARLY_RESET)
#if defined(CONFIG_ARM_MPU_RESET) || defined(CONFIG_ARM_MPU_EARLY_RESET)
static void mpu_reset_internal()
{
int region;
@ -184,7 +184,7 @@ void mpu_configure_region(uintptr_t base, size_t size,
* MPU initialization.
*
****************************************************************************/
#if defined(CONFIG_MPU_RESET)
#if defined(CONFIG_ARM_MPU_RESET)
void mpu_reset()
{
mpu_reset_internal();

View File

@ -178,7 +178,7 @@
*
****************************************************************************/
#if defined(CONFIG_MPU_RESET)
#if defined(CONFIG_ARM_MPU_RESET)
void mpu_reset(void);
#else
# define mpu_reset() do { } while (0)