boards: soc: arm: Set zephyr,itcm chosen node for i.MX RT boards
Sets the device tree chosen node for instruction tightly coupled memory (ITCM) on all i.MX RT boards. Leverages the common Cortex-M linker section instead of the SoC-specific one. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
f63385204c
commit
4afc4781cd
8 changed files with 7 additions and 3 deletions
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &dtcm;
|
zephyr,sram = &dtcm;
|
||||||
|
zephyr,itcm = &itcm;
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &dtcm;
|
zephyr,sram = &dtcm;
|
||||||
|
zephyr,itcm = &itcm;
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &sdram0;
|
zephyr,sram = &sdram0;
|
||||||
|
zephyr,itcm = &itcm;
|
||||||
zephyr,dtcm = &dtcm;
|
zephyr,dtcm = &dtcm;
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &sdram0;
|
zephyr,sram = &sdram0;
|
||||||
|
zephyr,itcm = &itcm;
|
||||||
zephyr,dtcm = &dtcm;
|
zephyr,dtcm = &dtcm;
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &sdram0;
|
zephyr,sram = &sdram0;
|
||||||
|
zephyr,itcm = &itcm;
|
||||||
zephyr,dtcm = &dtcm;
|
zephyr,dtcm = &dtcm;
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &sdram0;
|
zephyr,sram = &sdram0;
|
||||||
|
zephyr,itcm = &itcm;
|
||||||
zephyr,dtcm = &dtcm;
|
zephyr,dtcm = &dtcm;
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
zephyr,sram = &sdram0;
|
zephyr,sram = &sdram0;
|
||||||
|
zephyr,itcm = &itcm;
|
||||||
zephyr,dtcm = &dtcm;
|
zephyr,dtcm = &dtcm;
|
||||||
zephyr,console = &lpuart1;
|
zephyr,console = &lpuart1;
|
||||||
zephyr,shell-uart = &lpuart1;
|
zephyr,shell-uart = &lpuart1;
|
||||||
|
|
|
@ -16,9 +16,6 @@ MEMORY
|
||||||
#endif
|
#endif
|
||||||
#if (DT_REG_SIZE(DT_NODELABEL(sdram0)) > 0) && !IS_CHOSEN_SRAM(sdram0)
|
#if (DT_REG_SIZE(DT_NODELABEL(sdram0)) > 0) && !IS_CHOSEN_SRAM(sdram0)
|
||||||
SDRAM (wx) : ORIGIN = DT_REG_ADDR(DT_NODELABEL(sdram0)), LENGTH = DT_REG_SIZE(DT_NODELABEL(sdram0))
|
SDRAM (wx) : ORIGIN = DT_REG_ADDR(DT_NODELABEL(sdram0)), LENGTH = DT_REG_SIZE(DT_NODELABEL(sdram0))
|
||||||
#endif
|
|
||||||
#if (DT_REG_SIZE(DT_INST(0, nxp_imx_itcm)) > 0) && !defined(CONFIG_CODE_ITCM)
|
|
||||||
ITCM (wx) : ORIGIN = DT_REG_ADDR(DT_INST(0, nxp_imx_itcm)), LENGTH = DT_REG_SIZE(DT_INST(0, nxp_imx_itcm))
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue