Commit efc1aaa5 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Gregory CLEMENT

ARM: dt: mvebu: ix4-300d: move partitions to partition sub-node

NAND flash partitions should be part of a partitions sub-node
not the flash node itself. Move the partitions which will also
allow different bootloaders get rid of the stock partitions
easily by removing the partitions node.
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
parent 0cea5f71
...@@ -151,37 +151,42 @@ nand@d0000 { ...@@ -151,37 +151,42 @@ nand@d0000 {
marvell,nand-enable-arbiter; marvell,nand-enable-arbiter;
nand-on-flash-bbt; nand-on-flash-bbt;
partition@0 { partitions {
label = "u-boot"; #address-cells = <1>;
reg = <0x0000000 0xe0000>; #size-cells = <1>;
read-only;
}; partition@0 {
label = "u-boot";
partition@e0000 { reg = <0x0000000 0xe0000>;
label = "u-boot-env"; read-only;
reg = <0xe0000 0x20000>; };
read-only;
}; partition@e0000 {
label = "u-boot-env";
partition@100000 { reg = <0xe0000 0x20000>;
label = "u-boot-env2"; read-only;
reg = <0x100000 0x20000>; };
read-only;
}; partition@100000 {
label = "u-boot-env2";
partition@120000 { reg = <0x100000 0x20000>;
label = "zImage"; read-only;
reg = <0x120000 0x400000>; };
};
partition@120000 {
partition@520000 { label = "zImage";
label = "initrd"; reg = <0x120000 0x400000>;
reg = <0x520000 0x400000>; };
};
partition@520000 {
partition@xE00000 { label = "initrd";
label = "boot"; reg = <0x520000 0x400000>;
reg = <0xE00000 0x3F200000>; };
partition@xE00000 {
label = "boot";
reg = <0xE00000 0x3F200000>;
};
}; };
}; };
}; };
......
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