dts: common: nordic: nrf52840_partitions: Use equal partitions

Switches back to equal sized partitions, this fixes an issue
whereby the number of overhead sectors for a swap mode was
incorrectly listed as 2 when it should have been 1, and also
allows using any swap mode. This means that when using swap
using mode, 1 sector in the secondary partition will be unusable,
and when using swap using offset, 1 sector in the primary
partition will be unusable

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
Jamie McCrae 2025-04-17 08:56:03 +01:00 committed by Benjamin Cabé
commit a4e41f4d80

View file

@ -25,12 +25,12 @@
slot0_partition: partition@c000 { slot0_partition: partition@c000 {
label = "image-0"; label = "image-0";
reg = <0x0000C000 0x00077000>; reg = <0x0000C000 0x00076000>;
}; };
slot1_partition: partition@83000 { slot1_partition: partition@82000 {
label = "image-1"; label = "image-1";
reg = <0x00083000 0x00075000>; reg = <0x00082000 0x00076000>;
}; };
/* /*