mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 14:07:17 +00:00
armv7-m:MPU fix CONFIG naming to include ARM
This commit is contained in:
parent
cfa544357e
commit
53307ea9b2
2 changed files with 3 additions and 3 deletions
|
|
@ -185,7 +185,7 @@ static inline uint32_t mpu_subregion_ls(size_t offset, uint8_t l2size)
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#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;
|
||||
|
|
@ -423,7 +423,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();
|
||||
|
|
|
|||
|
|
@ -139,7 +139,7 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_MPU_RESET)
|
||||
#if defined(CONFIG_ARM_MPU_RESET)
|
||||
void mpu_reset(void);
|
||||
#else
|
||||
# define mpu_reset()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue