*Enable SMEM MTD parser and its dependencies (SMEM & HW spinlocks) in the kernel config *Replaces the MTD layout in DT by the dynamic layout provided by the SMEM parser for AP148 Using the OF based parser is still possible on platforms which have a fixed MTD partition layout. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46658master
parent
0e33ae8e5d
commit
b0b59a8e75
@ -1,35 +1,19 @@ |
||||
--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
|
||||
+++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
|
||||
@@ -78,13 +78,28 @@
|
||||
@@ -77,15 +77,7 @@
|
||||
spi-max-frequency = <50000000>;
|
||||
reg = <0>;
|
||||
|
||||
partition@0 {
|
||||
- partition@0 {
|
||||
- label = "rootfs";
|
||||
- reg = <0x0 0x1000000>;
|
||||
+ label = "lowlevel_init";
|
||||
+ reg = <0x0 0x1b0000>;
|
||||
};
|
||||
|
||||
partition@1 {
|
||||
- };
|
||||
-
|
||||
- partition@1 {
|
||||
- label = "scratch";
|
||||
- reg = <0x1000000 0x1000000>;
|
||||
+ label = "u-boot";
|
||||
+ reg = <0x1b0000 0x80000>;
|
||||
+ };
|
||||
+
|
||||
+ partition@2 {
|
||||
+ label = "u-boot-env";
|
||||
+ reg = <0x230000 0x40000>;
|
||||
+ };
|
||||
+
|
||||
+ partition@3 {
|
||||
+ label = "caldata";
|
||||
+ reg = <0x270000 0x40000>;
|
||||
+ };
|
||||
+
|
||||
+ partition@4 {
|
||||
+ label = "firmware";
|
||||
+ reg = <0x2b0000 0x1d50000>;
|
||||
};
|
||||
- };
|
||||
+ linux,part-probe = "qcom-smem";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -1,35 +1,19 @@ |
||||
--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
|
||||
+++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
|
||||
@@ -78,13 +78,28 @@
|
||||
@@ -77,15 +77,7 @@
|
||||
spi-max-frequency = <50000000>;
|
||||
reg = <0>;
|
||||
|
||||
partition@0 {
|
||||
- partition@0 {
|
||||
- label = "rootfs";
|
||||
- reg = <0x0 0x1000000>;
|
||||
+ label = "lowlevel_init";
|
||||
+ reg = <0x0 0x1b0000>;
|
||||
};
|
||||
|
||||
partition@1 {
|
||||
- };
|
||||
-
|
||||
- partition@1 {
|
||||
- label = "scratch";
|
||||
- reg = <0x1000000 0x1000000>;
|
||||
+ label = "u-boot";
|
||||
+ reg = <0x1b0000 0x80000>;
|
||||
+ };
|
||||
+
|
||||
+ partition@2 {
|
||||
+ label = "u-boot-env";
|
||||
+ reg = <0x230000 0x40000>;
|
||||
+ };
|
||||
+
|
||||
+ partition@3 {
|
||||
+ label = "caldata";
|
||||
+ reg = <0x270000 0x40000>;
|
||||
+ };
|
||||
+
|
||||
+ partition@4 {
|
||||
+ label = "firmware";
|
||||
+ reg = <0x2b0000 0x1d50000>;
|
||||
};
|
||||
- };
|
||||
+ linux,part-probe = "qcom-smem";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in new issue