From aec0355380e20ba5ea4cdf98d476a7113a138673 Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Fri, 6 Dec 2024 16:56:13 -0600 Subject: [PATCH] boards: nxp: mimxrt11xx: change zephyr,flash node to ocram OCRAM region in Cortex-M4 memory map at 0x2020_0000 is simply an alias to the M4 TCM at 0x1FFE_0000, which the zephyr,flash node was previously set to. Using this base address for OCRAM allows the base address to match the one used in the M7 memory map, which simplifies loading the M4 image from flash into RAM in the M7 init routine Signed-off-by: Daniel DeGrasse --- boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts | 2 +- boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts b/boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts index a92f93feb8d..475a166e787 100644 --- a/boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts +++ b/boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts @@ -20,7 +20,7 @@ * sram region is changed and DMA is in use, you will * encounter issues! */ - zephyr,sram = &sram1; + zephyr,sram = &ocram; zephyr,console = &lpuart1; zephyr,shell-uart = &lpuart1; zephyr,flash-controller = &is25wp128; diff --git a/boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts b/boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts index cbef2377dab..5cd416c9c73 100644 --- a/boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts +++ b/boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts @@ -25,7 +25,7 @@ zephyr,shell-uart = &lpuart1; zephyr,canbus = &flexcan2; zephyr,flash-controller = &is25wp128; - zephyr,flash = &sram0; + zephyr,flash = &ocram; nxp,m4-partition = &slot1_partition; zephyr,ipc = &mailbox_b; };