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:
parent
5b7fa7b059
commit
1fce712aa7
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue