diff options
author | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-08-11 07:37:34 +0200 |
---|---|---|
committer | Christian Mauderer <christian.mauderer@embedded-brains.de> | 2023-08-21 09:13:16 +0200 |
commit | 094355d4f1144ad28684deab5167d8e203cbe459 (patch) | |
tree | 831695024fff99963c88084f348e623fb4b61e7b /bsps/arm | |
parent | bsps/arm/imxrt1166: Enable USB (diff) | |
download | rtems-094355d4f1144ad28684deab5167d8e203cbe459.tar.bz2 |
bsps/arm/imxrt: Optimize nocache memory settings
The nocache-memory was set as device memory. It's not necessary to be
that strict. Set it to normal non-cacheable non-shareable memory
instead.
Diffstat (limited to 'bsps/arm')
-rw-r--r-- | bsps/arm/imxrt/start/mpu-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/arm/imxrt/start/mpu-config.c b/bsps/arm/imxrt/start/mpu-config.c index a8f98f1c81..93a4cb08e4 100644 --- a/bsps/arm/imxrt/start/mpu-config.c +++ b/bsps/arm/imxrt/start/mpu-config.c @@ -53,13 +53,13 @@ BSP_START_DATA_SECTION const ARMV7M_MPU_Region_config .begin = imxrt_memory_extram_nocache_begin, .end = imxrt_memory_extram_nocache_end, .rasr = ARMV7M_MPU_RASR_AP(0x3) - | ARMV7M_MPU_RASR_TEX(0x2) + | ARMV7M_MPU_RASR_TEX(0x1) | ARMV7M_MPU_RASR_ENABLE, }, { .begin = imxrt_memory_ocram_nocache_begin, .end = imxrt_memory_ocram_nocache_end, .rasr = ARMV7M_MPU_RASR_AP(0x3) - | ARMV7M_MPU_RASR_TEX(0x2) + | ARMV7M_MPU_RASR_TEX(0x1) | ARMV7M_MPU_RASR_ENABLE, }, { .begin = imxrt_memory_peripheral_begin, |