Skip to content

Commit 724a751

Browse files
committed
boot: zephyr: boards: Reformat DTS files
Applies zephyr coding style Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent f9db019 commit 724a751

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

boot/zephyr/boards/nrf52840_big.overlay

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,24 @@
1010

1111
&flash0 {
1212
partitions {
13-
compatible = "fixed-partitions";
14-
#address-cells = <1>;
15-
#size-cells = <1>;
13+
compatible = "fixed-partitions";
14+
#address-cells = <1>;
15+
#size-cells = <1>;
1616

17-
boot_partition: partition@0 {
18-
label = "mcuboot";
19-
reg = <0x000000000 0x00010000>;
20-
};
21-
slot0_partition: partition@10000 {
22-
label = "image-0";
23-
reg = <0x000010000 0x000074000>;
24-
};
25-
slot1_partition: partition@75000 {
26-
label = "image-1";
27-
reg = <0x00084000 0x000074000>;
28-
};
17+
boot_partition: partition@0 {
18+
label = "mcuboot";
19+
reg = <0x000000000 0x00010000>;
20+
};
21+
22+
slot0_partition: partition@10000 {
23+
label = "image-0";
24+
reg = <0x000010000 0x000074000>;
25+
};
26+
27+
slot1_partition: partition@75000 {
28+
label = "image-1";
29+
reg = <0x00084000 0x000074000>;
30+
};
2931
};
3032
};
3133

boot/zephyr/boards/nrf52840_single_slot.overlay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
label = "mcuboot";
1919
reg = <0x000000000 0x00010000>;
2020
};
21+
2122
slot0_partition: partition@10000 {
2223
label = "image-0";
2324
reg = <0x000010000 0x0000E8000>;

boot/zephyr/boards/nrf52840dk_qspi_nor_secondary.overlay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
label = "mcuboot";
1515
reg = <0x000000000 0x00010000>;
1616
};
17+
1718
slot0_partition: partition@10000 {
1819
label = "image-0";
1920
reg = <0x000010000 0x0000e8000>;

boot/zephyr/boards/nrf52840dk_ram.overlay

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
label = "mcuboot";
1515
reg = <0x000000000 0x00010000>;
1616
};
17+
1718
slot0_partition: partition@10000 {
1819
label = "image-0";
1920
reg = <0x000010000 0x00000A000>;

boot/zephyr/boards/nrf52840dk_ram_multi.overlay

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@
1414
label = "mcuboot";
1515
reg = <0x000000000 0x00010000>;
1616
};
17+
1718
slot0_partition: partition@10000 {
1819
label = "image-0";
1920
reg = <0x000010000 0x00000A000>;
2021
};
22+
2123
slot1_partition: partition@1A000 {
2224
label = "image-1";
2325
reg = <0x00001A000 0x00000A000>;
2426
};
27+
2528
slot3_partition: partition@24000 {
2629
label = "image-3";
2730
reg = <0x000024000 0x00000A000>;

0 commit comments

Comments
 (0)