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: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
This commit is contained in:
Sebastian Hesselbarth 2015-11-28 12:14:06 +01:00 committed by Gregory CLEMENT
parent 0cea5f714c
commit efc1aaa53e
1 changed files with 31 additions and 26 deletions

View File

@ -151,37 +151,42 @@
marvell,nand-enable-arbiter;
nand-on-flash-bbt;
partition@0 {
label = "u-boot";
reg = <0x0000000 0xe0000>;
read-only;
};
partitions {
#address-cells = <1>;
#size-cells = <1>;
partition@e0000 {
label = "u-boot-env";
reg = <0xe0000 0x20000>;
read-only;
};
partition@0 {
label = "u-boot";
reg = <0x0000000 0xe0000>;
read-only;
};
partition@100000 {
label = "u-boot-env2";
reg = <0x100000 0x20000>;
read-only;
};
partition@e0000 {
label = "u-boot-env";
reg = <0xe0000 0x20000>;
read-only;
};
partition@120000 {
label = "zImage";
reg = <0x120000 0x400000>;
};
partition@100000 {
label = "u-boot-env2";
reg = <0x100000 0x20000>;
read-only;
};
partition@520000 {
label = "initrd";
reg = <0x520000 0x400000>;
};
partition@120000 {
label = "zImage";
reg = <0x120000 0x400000>;
};
partition@xE00000 {
label = "boot";
reg = <0xE00000 0x3F200000>;
partition@520000 {
label = "initrd";
reg = <0x520000 0x400000>;
};
partition@xE00000 {
label = "boot";
reg = <0xE00000 0x3F200000>;
};
};
};
};