ramips: fix partition node for jcg q20
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 3f3f8f2ff5)
This commit is contained in:
parent
70a362a822
commit
3714dcc944
@ -7,12 +7,7 @@
|
||||
model = "JCG Q20 (pb-boot)";
|
||||
};
|
||||
|
||||
&nand {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
&partitions {
|
||||
partition@0 {
|
||||
label = "Bootloader";
|
||||
reg = <0x0 0x80000>;
|
||||
@ -30,12 +25,6 @@
|
||||
read-only;
|
||||
};
|
||||
|
||||
factory: partition@100000 {
|
||||
label = "Factory";
|
||||
reg = <0x100000 0x80000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@180000 {
|
||||
label = "crash";
|
||||
reg = <0x180000 0x40000>;
|
||||
@ -57,5 +46,4 @@
|
||||
label = "ubi";
|
||||
reg = <0x600000 0x7980000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@ -23,12 +23,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
&nand {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
&partitions {
|
||||
partition@0 {
|
||||
label = "Bootloader";
|
||||
reg = <0x0 0x80000>;
|
||||
@ -40,12 +35,6 @@
|
||||
reg = <0x80000 0x80000>;
|
||||
};
|
||||
|
||||
factory: partition@100000 {
|
||||
label = "Factory";
|
||||
reg = <0x100000 0x80000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
partition@180000 {
|
||||
label = "kernel";
|
||||
reg = <0x180000 0x400000>;
|
||||
@ -81,5 +70,4 @@
|
||||
/*
|
||||
* last 512 KiB are for the bad block table
|
||||
*/
|
||||
};
|
||||
};
|
||||
|
||||
@ -51,6 +51,19 @@
|
||||
|
||||
&nand {
|
||||
status = "okay";
|
||||
|
||||
partitions: partitions {
|
||||
compatible = "fixed-partitions";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
|
||||
factory: partition@100000 {
|
||||
label = "Factory";
|
||||
reg = <0x100000 0x80000>;
|
||||
read-only;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
&pcie {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user