Skip to contentSkip to conversation

arm64: dts: freescale: sl28: combine SPI MTD partitions

PATCH Applied Michael Walle 2 participants 2 messages Nov 15, 2020 – Nov 30, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: freescale: sl28: combine SPI MTD partitions

The upstream port, doesn't really follow the vendor partitioning. The bootloader partition has one U-Boot FIT image containing all needed bits and pieces. Even today the bootloader is already larger than the current "bootloader" partition. Thus, fold all the partitions into one and keep the environment one. The latter is still valid.
We keep the failsafe partitions because the first half of the SPI flash is preinstalled by the vendor and immutable.

Fixes 815364d0424e ("arm64: dts: freescale: add Kontron sl28 support")
---
 .../boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts  | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +1 -11
index 54ff6f7c2477..fbaecf285d05 100644
@@ -159,20 +159,10 @@
 		};
 
 		partition@210000 {
-			reg = <0x210000 0x0f0000>;
+			reg = <0x210000 0x1d0000>;
 			label = "bootloader";
 		};
 
-		partition@300000 {
-			reg = <0x300000 0x040000>;
-			label = "DP firmware";
-		};
-
-		partition@340000 {
-			reg = <0x340000 0x0a0000>;
-			label = "trusted firmware";
-		};
-
 		partition@3e0000 {
 			reg = <0x3e0000 0x020000>;
 			label = "bootloader environment";
Signature · 1 line
2.20.1
Applied
#1 lore raw
Quoted 10 lines · Michael Walle

The upstream port, doesn't really follow the vendor partitioning. The bootloader partition has one U-Boot FIT image containing all needed bits and pieces. Even today the bootloader is already larger than the current "bootloader" partition. Thus, fold all the partitions into one and keep the environment one. The latter is still valid.
We keep the failsafe partitions because the first half of the SPI flash is preinstalled by the vendor and immutable.

Fixes 815364d0424e ("arm64: dts: freescale: add Kontron sl28 support")

Applied, thanks.