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 committed by Holger Hans Peter Freyther
parent 5b7fa7b059
commit 1fce712aa7
3 changed files with 52 additions and 19 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,24 +288,5 @@
label = "barebox";
reg = <0x80000 0x80000>;
};
partition@100000 {
label = "barebox_backup";
reg = <0x100000 0x80000>;
};
partition@180000 {
label = "bareboxenv";
reg = <0x180000 0x40000>;
};
partition@1C0000 {
label = "root";
/*
* Size 0x0 extends partition to
* end of nand flash.
*/
reg = <0x1C0000 0x0>;
};
};
};