Skip to content

Commit 40af3c9

Browse files
tomchynordicjm
authored andcommitted
[nrf fromtree] boards: Add secondary_app_partition alias
Add secondary_app_partition aliases. Those aliases can be used to configure the code partition for the second copy of the FW in the Direct XIP update scenarios. Signed-off-by: Tomasz Chyrowicz <[email protected]> (cherry picked from commit e3c5bdf)
1 parent 047df0c commit 40af3c9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
chosen {
2020
zephyr,console = &uart136;
21-
zephyr,code-partition = &slot0_partition;
21+
zephyr,code-partition = &cpuapp_slot0_partition;
2222
zephyr,flash = &mram1x;
2323
zephyr,sram = &cpuapp_data;
2424
zephyr,shell-uart = &uart136;
@@ -193,6 +193,8 @@ slot0_partition: &cpuapp_slot0_partition {
193193
label = "image-0";
194194
};
195195

196+
secondary_app_partition: &cpuapp_slot1_partition {};
197+
196198
slot1_partition: &cpuapp_slot1_partition {
197199
label = "image-1";
198200
};

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpurad.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ slot0_partition: &cpurad_slot0_partition {
9090
label = "image-0";
9191
};
9292

93+
secondary_app_partition: &cpurad_slot1_partition {};
94+
9395
slot1_partition: &cpurad_slot1_partition {
9496
label = "image-1";
9597
};

0 commit comments

Comments
 (0)