Commit 9a842588 authored by Jamie McCrae's avatar Jamie McCrae Committed by Carles Cufi
Browse files

boards: arm: nordic nrf91* nrf53* nrf52* nrf51*: Remove scratch areas



The scratch partition is not needed since MCUboot now operates in
swap using move mode instead of swap with scratch, as a result, the
main partitions on Nordic nRF51, nRF52, nRF53 and nRF91 boards can be
expanded to help in fitting large applications to them.

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent 235ab902
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -259,15 +259,11 @@ fem_spi: &spi3 {
		};
		slot0_partition: partition@c000 {
			label = "image-0";
			reg = <0x0000C000 0x00067000>;
			reg = <0x0000C000 0x00076000>;
		};
		slot1_partition: partition@73000 {
		slot1_partition: partition@82000 {
			label = "image-1";
			reg = <0x00073000 0x00067000>;
		};
		scratch_partition: partition@da000 {
			label = "image-scratch";
			reg = <0x000da000 0x0001e000>;
			reg = <0x00082000 0x00076000>;
		};

		/*
+3 −7
Original line number Diff line number Diff line
@@ -158,15 +158,11 @@
		};
		slot0_partition: partition@8000 {
			label = "image-0";
			reg = <0x00008000 0x1a000>;
			reg = <0x00008000 0x1b000>;
		};
		slot1_partition: partition@22000 {
		slot1_partition: partition@23000 {
			label = "image-1";
			reg = <0x00022000 0x1a000>;
		};
		scratch_partition: partition@3c000 {
			label = "image-scratch";
			reg = <0x0003c000 0x2000>;
			reg = <0x00023000 0x1b000>;
		};
		storage_partition: partition@3e000 {
			label = "storage";
+3 −7
Original line number Diff line number Diff line
@@ -95,15 +95,11 @@
		};
		slot0_partition: partition@8000 {
			label = "image-0";
			reg = <0x00008000 0x1a000>;
			reg = <0x00008000 0x1b000>;
		};
		slot1_partition: partition@22000 {
		slot1_partition: partition@23000 {
			label = "image-1";
			reg = <0x00022000 0x1a000>;
		};
		scratch_partition: partition@3c000 {
			label = "image-scratch";
			reg = <0x0003c000 0x2000>;
			reg = <0x00023000 0x1b000>;
		};
		storage_partition: partition@3e000 {
			label = "storage";
+3 −7
Original line number Diff line number Diff line
@@ -217,15 +217,11 @@ arduino_spi: &spi3 {
		};
		slot0_partition: partition@c000 {
			label = "image-0";
			reg = <0x0000C000 0x32000>;
			reg = <0x0000C000 0x37000>;
		};
		slot1_partition: partition@3e000 {
		slot1_partition: partition@43000 {
			label = "image-1";
			reg = <0x0003E000 0x32000>;
		};
		scratch_partition: partition@70000 {
			label = "image-scratch";
			reg = <0x00070000 0xA000>;
			reg = <0x00043000 0x37000>;
		};
		storage_partition: partition@7a000 {
			label = "storage";
+5 −9
Original line number Diff line number Diff line
@@ -154,19 +154,15 @@
		};
		slot0_partition: partition@c000 {
			label = "image-0";
			reg = <0x0000C000 0xd000>;
			reg = <0x0000C000 0xe000>;
		};
		slot1_partition: partition@19000 {
		slot1_partition: partition@1a000 {
			label = "image-1";
			reg = <0x00019000 0xd000>;
			reg = <0x0001a000 0xe000>;
		};
		scratch_partition: partition@26000 {
			label = "image-scratch";
			reg = <0x00026000 0x3000>;
		};
		storage_partition: partition@29000 {
		storage_partition: partition@28000 {
			label = "storage";
			reg = <0x00029000 0x00007000>;
			reg = <0x00028000 0x00008000>;
		};
	};
};
Loading