You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/11/04 18:23:33 UTC

[incubator-nuttx] 02/08: imxrt mpuinit:Remove duplicate entry for ITCM (0x0)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 34c3efcb91507c03a5b35483fcc60bf71039e9f8
Author: David Sidrane <Da...@NscDg.com>
AuthorDate: Wed Oct 27 13:00:26 2021 -0700

    imxrt mpuinit:Remove duplicate entry for ITCM (0x0)
---
 arch/arm/src/imxrt/imxrt_mpuinit.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/src/imxrt/imxrt_mpuinit.c b/arch/arm/src/imxrt/imxrt_mpuinit.c
index a8a1f48..061c3b0 100644
--- a/arch/arm/src/imxrt/imxrt_mpuinit.c
+++ b/arch/arm/src/imxrt/imxrt_mpuinit.c
@@ -150,14 +150,6 @@ void imxrt_mpu_initialize(void)
                        MPU_RASR_AP_RORO);  /* P:RO   U:RO
                                             * Instruction access */
 
-  mpu_configure_region(0x00000000,  1024 * 1024 * 1024,
-                       MPU_RASR_TEX_DEV  | /* Device
-                                            * Not Cacheable
-                                            * Not Bufferable
-                                            * Not Shareable      */
-                       MPU_RASR_AP_RWRW);  /* P:RW   U:RW
-                                            * Instruction access */
-
   mpu_configure_region(IMXRT_ITCM_BASE,  128 * 1024,
                        MPU_RASR_TEX_SO   | /* Ordered            */
                        MPU_RASR_C        | /* Cacheable          */