summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-03 08:27:35 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-06-03 08:37:14 +0200
commita26b9936ff8405d6e0c8d62ac04fbce64ee6e5cc (patch)
treeba260a44c7586c769fbc6516955886e9644df21d
parentbsps/stm32h7: set SDRAM 1 size to 0 by default on nucleo-h743zi BSP (diff)
downloadrtems-a26b9936ff8405d6e0c8d62ac04fbce64ee6e5cc.tar.bz2
arm: Fix typo
-rw-r--r--cpukit/score/cpu/arm/aarch32-psma-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/cpu/arm/aarch32-psma-init.c b/cpukit/score/cpu/arm/aarch32-psma-init.c
index ee9338f050..177b2a6d7c 100644
--- a/cpukit/score/cpu/arm/aarch32-psma-init.c
+++ b/cpukit/score/cpu/arm/aarch32-psma-init.c
@@ -45,7 +45,7 @@
#include <rtems/score/aarch32-system-registers.h>
#include <rtems/score/cpu.h>
-#define AARCH32_PSMA_REGION_MAX \
+#define AARCH32_PMSA_REGION_MAX \
( ( AARCH32_MPUIR_REGION_MASK >> AARCH32_MPUIR_REGION_SHIFT ) + 1 )
static void _AArch32_PMSA_Configure(
@@ -196,7 +196,7 @@ void _AArch32_PMSA_Initialize(
size_t section_count
)
{
- AArch32_PMSA_Region regions[ AARCH32_PSMA_REGION_MAX ];
+ AArch32_PMSA_Region regions[ AARCH32_PMSA_REGION_MAX ];
size_t region_max;
size_t region_used;