boards: nxp: Switch MCUBoot FW Update mode to Swap & Move

Switch the default MCUBoot FW Update mode from Swap & Scratch
to more preferable Swap & Move for the rest of NXP MCUs.
Other NXP MCU platforms have been already switched.
Delete the scratch partition. Save RAM & ROM.
Slot 0 has one additional sector, for use with
the swap move algorithm.

Signed-off-by: Andrej Butok <andrey.butok@nxp.com>
This commit is contained in:
Andrej Butok 2023-12-11 13:15:49 +01:00 committed by Carles Cufí
commit a691280b12
15 changed files with 91 additions and 138 deletions

View file

@ -223,13 +223,9 @@
label = "image-1";
reg = <0x00340000 DT_SIZE_M(3)>;
};
scratch_partition: partition@640000 {
label = "image-scratch";
reg = <0x00640000 DT_SIZE_K(768)>;
};
storage_partition: partition@700000 {
storage_partition: partition@640000 {
label = "storage";
reg = <0x00700000 DT_SIZE_M(557)>;
reg = <0x00640000 (DT_SIZE_M(557) + DT_SIZE_K(768))>;
};
};
};