aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-4.0/021-add-ap148-partitions.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-01 08:32:03 +0000
committerJohn Crispin <john@openwrt.org>2015-04-01 08:32:03 +0000
commitd3a9fc4586f05f5baffec6eedab5e9884348aa97 (patch)
tree2599794a0587a65b620a1450a54c6cf470903640 /target/linux/ipq806x/patches-4.0/021-add-ap148-partitions.patch
parent2d74104b524e51d9ded11ea5b3cb6f39a08e5711 (diff)
downloadupstream-d3a9fc4586f05f5baffec6eedab5e9884348aa97.tar.gz
upstream-d3a9fc4586f05f5baffec6eedab5e9884348aa97.tar.bz2
upstream-d3a9fc4586f05f5baffec6eedab5e9884348aa97.zip
ipq806x: add support for 4.0 kernel
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45210
Diffstat (limited to 'target/linux/ipq806x/patches-4.0/021-add-ap148-partitions.patch')
-rw-r--r--target/linux/ipq806x/patches-4.0/021-add-ap148-partitions.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/linux/ipq806x/patches-4.0/021-add-ap148-partitions.patch b/target/linux/ipq806x/patches-4.0/021-add-ap148-partitions.patch
new file mode 100644
index 0000000000..34eb9c0dfa
--- /dev/null
+++ b/target/linux/ipq806x/patches-4.0/021-add-ap148-partitions.patch
@@ -0,0 +1,35 @@
+--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
++++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
+@@ -78,13 +78,28 @@
+ reg = <0>;
+
+ partition@0 {
+- label = "rootfs";
+- reg = <0x0 0x1000000>;
++ label = "lowlevel_init";
++ reg = <0x0 0x1b0000>;
+ };
+
+ 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>;
+ };
+ };
+ };