mirror of
https://github.com/apache/nuttx.git
synced 2026-08-29 13:20:45 +00:00
ARMv7-R: remove the redundant update on SCTLR
mpu_control() is invoking cp15_wrsctlr() around SCTLR update redundantly. Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
This commit is contained in:
parent
05d477661b
commit
2b922fcdbd
1 changed files with 0 additions and 1 deletions
|
|
@ -392,7 +392,6 @@ static inline void mpu_control(bool enable)
|
|||
if (enable)
|
||||
{
|
||||
regval |= (SCTLR_M | SCTLR_BR);
|
||||
cp15_wrsctlr(regval);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue