Skip to content

Commit

Permalink
arm64: dts: freescale: sl28: combine SPI MTD partitions
Browse files Browse the repository at this point in the history
[ Upstream commit 91ab1c1 ]

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: 815364d ("arm64: dts: freescale: add Kontron sl28 support")
Signed-off-by: Michael Walle <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
mwalle authored and eyssartk committed Jan 11, 2023
1 parent 82ae225 commit 48da813
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,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";
Expand Down

0 comments on commit 48da813

Please sign in to comment.