armv8-m:MPU fix CONFIG naming to include ARM
This commit is contained in:
parent
53307ea9b2
commit
602e69a810
@ -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();
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user