9
0
Fork 0

phytec-phycore: partially move partition setup from dtsi to dts

The partition layout is board-specific, so only the barebox partitions
need to be in the fixed location expected by the MLO code.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
Jan Luebbe 2015-06-11 16:04:53 +02:00
parent 4250862671
commit 06a7e44ff5
3 changed files with 52 additions and 24 deletions

View File

@ -18,3 +18,29 @@
&eeprom {
status = "okay";
};
&nand {
partition@5 {
label = "bareboxenv";
reg = <0x100000 0x40000>;
};
partition@6 {
label = "oftree";
reg = <0x140000 0x40000>;
};
partition@7 {
label = "kernel";
reg = <0x180000 0x800000>;
};
partition@8 {
label = "root";
/*
* Size 0x0 extends partition to
* end of nand flash.
*/
reg = <0x980000 0x0>;
};
};

View File

@ -22,3 +22,29 @@
&eeprom {
status = "okay";
};
&nand {
partition@5 {
label = "bareboxenv";
reg = <0x100000 0x40000>;
};
partition@6 {
label = "oftree";
reg = <0x140000 0x40000>;
};
partition@7 {
label = "kernel";
reg = <0x180000 0x800000>;
};
partition@8 {
label = "root";
/*
* Size 0x0 extends partition to
* end of nand flash.
*/
reg = <0x980000 0x0>;
};
};

View File

@ -288,29 +288,5 @@
label = "barebox";
reg = <0x80000 0x80000>;
};
partition@5 {
label = "bareboxenv";
reg = <0x100000 0x40000>;
};
partition@6 {
label = "oftree";
reg = <0x140000 0x40000>;
};
partition@7 {
label = "kernel";
reg = <0x180000 0x800000>;
};
partition@8 {
label = "root";
/*
* Size 0x0 extends partition to
* end of nand flash.
*/
reg = <0x980000 0x0>;
};
};
};