ARM: dts: am335x-myirtech: Update NAND default partition table layout

This patch replaces the legacy partition table layout with a modern style.
As an additional change, we are reserving space for three backup MLO entries
and increasing space for the main bootloader.

Signed-off-by: Alexander Shiyan <eagle.alexander923@gmail.com>
Message-Id: <20220427081914.6773-2-eagle.alexander923@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
Alexander Shiyan 2022-04-27 11:19:14 +03:00 committed by Tony Lindgren
parent 97fab2004d
commit 165c79da16
2 changed files with 13 additions and 10 deletions

View File

@ -131,9 +131,6 @@
gpmc,wr-data-mux-bus-ns = <0>;
ti,elm-id = <&elm>;
ti,nand-ecc-opt = "bch8";
#address-cells = <1>;
#size-cells = <1>;
};
};

View File

@ -227,14 +227,20 @@
};
&nand0 {
partition@0 {
label = "MLO";
reg = <0x00000 0x20000>;
};
nand_parts: partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@20000 {
label = "boot";
reg = <0x20000 0x80000>;
partition@0 {
label = "MLO";
reg = <0x00000 0x20000>;
};
partition@80000 {
label = "boot";
reg = <0x80000 0x100000>;
};
};
};