Skip to content

Commit 5150e5c

Browse files
TomasGalbickaNXPkartben
authored andcommitted
boards: NXP MCXN947 remove cpu1 partition
This commit reverts using of cpu1_partition because it is taking space from slot0 and slot1 partitions. For now use slot1 partition for cpu1. Signed-off-by: Tomas Galbicka <tomas.galbicka@nxp.com>
1 parent 68dc1b5 commit 5150e5c

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

boards/nxp/frdm_mcxn947/frdm_mcxn947.dtsi

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,11 @@ nxp_8080_touch_panel_i2c: &flexcomm2_lpi2c2 {
162162
*/
163163
slot0_partition: partition@14000 {
164164
label = "image-0";
165-
reg = <0x00014000 DT_SIZE_K(888)>;
165+
reg = <0x00014000 DT_SIZE_K(984)>;
166166
};
167-
slot1_partition: partition@F2000 {
167+
slot1_partition: partition@10A000 {
168168
label = "image-1";
169-
reg = <0x000F2000 DT_SIZE_K(888)>;
170-
};
171-
cpu1_partition: partition@1D0000 {
172-
label = "cpu1-image";
173-
reg = <0x001D0000 DT_SIZE_K(192)>;
169+
reg = <0x0010A000 DT_SIZE_K(984)>;
174170
};
175171
/* storage_partition is placed in WINBOND flash memory*/
176172
};

boards/nxp/frdm_mcxn947/frdm_mcxn947_mcxn947_cpu0.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
zephyr,console = &flexcomm4_lpuart4;
2828
zephyr,shell-uart = &flexcomm4_lpuart4;
2929
zephyr,canbus = &flexcan0;
30-
zephyr,code-cpu1-partition = &cpu1_partition;
30+
zephyr,code-cpu1-partition = &slot1_partition;
3131
};
3232

3333
aliases{

boards/nxp/frdm_mcxn947/frdm_mcxn947_mcxn947_cpu1.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
zephyr,sram = &sramg;
2222
zephyr,flash = &flash;
2323
zephyr,flash-controller = &fmu;
24-
zephyr,code-partition = &cpu1_partition;
24+
zephyr,code-partition = &slot1_partition;
2525
zephyr,console = &flexcomm2_lpuart2;
2626
zephyr,shell-uart = &flexcomm2_lpuart2;
2727
};

0 commit comments

Comments
 (0)