Browse Source

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 <daniel@degrasse.com>
pull/83664/head
Daniel DeGrasse 7 months ago committed by Benjamin Cabé
parent
commit
aec0355380
  1. 2
      boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts
  2. 2
      boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts

2
boards/nxp/mimxrt1160_evk/mimxrt1160_evk_mimxrt1166_cm4.dts

@ -20,7 +20,7 @@ @@ -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;

2
boards/nxp/mimxrt1170_evk/mimxrt1170_evk_mimxrt1176_cm4.dts

@ -25,7 +25,7 @@ @@ -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;
};

Loading…
Cancel
Save