summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-22 08:13:36 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-06-29 14:53:32 +0200
commit13b18d129e8f8ee92360ab5f27f1e71a3ec5016c (patch)
tree60b0b7be9d11f34ba7cca3d302ffb33d6c6f4421 /cpukit
parent10041a4cfc00d5f6876d3d6cfc30c23347b4cf42 (diff)
downloadrtems-13b18d129e8f8ee92360ab5f27f1e71a3ec5016c.tar.bz2
arm: Disable alignment check in PMSA init
Disable the alignment check through SCTLR[A] in _AArch32_PMSA_Initialize(). Update #4202.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/score/cpu/arm/aarch32-psma-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/cpu/arm/aarch32-psma-init.c b/cpukit/score/cpu/arm/aarch32-psma-init.c
index de75d2a733..f5792e9c24 100644
--- a/cpukit/score/cpu/arm/aarch32-psma-init.c
+++ b/cpukit/score/cpu/arm/aarch32-psma-init.c
@@ -91,7 +91,7 @@ static void _AArch32_PMSA_Configure(
_ARM_Data_synchronization_barrier();
sctlr = _AArch32_Read_sctlr();
sctlr |= AARCH32_SCTLR_M | AARCH32_SCTLR_I | AARCH32_SCTLR_C;
- sctlr &= ~AARCH32_SCTLR_BR;
+ sctlr &= ~( AARCH32_SCTLR_A | AARCH32_SCTLR_BR );
_AArch32_Write_sctlr( sctlr );
_ARM_Instruction_synchronization_barrier();
}