ARMv7-M: Fix double allocation of MPU region in mmu.h

This commit is contained in:
Gregory Nutt
2016-11-17 13:37:24 -06:00
parent 61bdea1625
commit 18ad40b98c
+1 -1
View File
@@ -357,7 +357,7 @@ static inline void mpu_priv_flash(uintptr_t base, size_t size)
/* Select the region */
putreg32(mpu_allocregion(), MPU_RNR);
putreg32(region, MPU_RNR);
/* Select the region base address */