diff options
author | Alexander Shiyan <eagle.alexander923@gmail.com> | 2022-04-27 11:19:14 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2022-04-29 10:10:35 +0300 |
commit | 165c79da163f9909aba8fad68b897148399a1ba5 (patch) | |
tree | bacb021832de4b7d8556738f737db7a99eac679f /arch/arm/boot/dts/am335x-myirtech-myd.dts | |
parent | 97fab2004d11577dfe17aaaacdbf02093194dbb9 (diff) | |
download | linux-165c79da163f9909aba8fad68b897148399a1ba5.tar.xz |
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>
Diffstat (limited to 'arch/arm/boot/dts/am335x-myirtech-myd.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-myirtech-myd.dts | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/arch/arm/boot/dts/am335x-myirtech-myd.dts b/arch/arm/boot/dts/am335x-myirtech-myd.dts index 1479fd95dec2..9d81d4cc6890 100644 --- a/arch/arm/boot/dts/am335x-myirtech-myd.dts +++ b/arch/arm/boot/dts/am335x-myirtech-myd.dts @@ -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>; + }; }; }; |