Commit 165c79da authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Tony Lindgren

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: default avatarAlexander Shiyan <eagle.alexander923@gmail.com>
Message-Id: <20220427081914.6773-2-eagle.alexander923@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 97fab200
...@@ -131,9 +131,6 @@ nand0: nand@0,0 { ...@@ -131,9 +131,6 @@ nand0: nand@0,0 {
gpmc,wr-data-mux-bus-ns = <0>; gpmc,wr-data-mux-bus-ns = <0>;
ti,elm-id = <&elm>; ti,elm-id = <&elm>;
ti,nand-ecc-opt = "bch8"; ti,nand-ecc-opt = "bch8";
#address-cells = <1>;
#size-cells = <1>;
}; };
}; };
......
...@@ -227,14 +227,20 @@ &mmc1 { ...@@ -227,14 +227,20 @@ &mmc1 {
}; };
&nand0 { &nand0 {
partition@0 { nand_parts: partitions {
label = "MLO"; compatible = "fixed-partitions";
reg = <0x00000 0x20000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@20000 { partition@0 {
label = "boot"; label = "MLO";
reg = <0x20000 0x80000>; reg = <0x00000 0x20000>;
};
partition@80000 {
label = "boot";
reg = <0x80000 0x100000>;
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment