aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches-3.18
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-08-04 23:09:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-08-04 23:09:43 +0000
commit7e19de8c17c90cb29db0ea88d71daeb99c9389e6 (patch)
tree2d5a00890d862b7596e80b5f76dd4f39e2958d9c /target/linux/ipq806x/patches-3.18
parente0a645436f438120661b31e521b167b6f1c0c620 (diff)
downloadmaster-187ad058-7e19de8c17c90cb29db0ea88d71daeb99c9389e6.tar.gz
master-187ad058-7e19de8c17c90cb29db0ea88d71daeb99c9389e6.tar.bz2
master-187ad058-7e19de8c17c90cb29db0ea88d71daeb99c9389e6.zip
ipq806x: add support for non-dt enabled ap148 bootloader
Certain AP148 platforms (and derivative) use bootloaders which did not have DT enabled. In order to support these old platforms, we'll now make the following modifications: *explicitely add the memory node in the AP148 DT: this used to be added by new u-boot through a run-time patch mechanism. We'll now add it explicitely so it works on boots which don't support that feature. New boots will have the node twice, the second one will be ignored. *add the zImage generation next to the FIT image for AP148. Other platforms using non-DT enabled bootloaders may want to leverage this zImage code to generate their own firmare as well. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46555 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ipq806x/patches-3.18')
-rw-r--r--target/linux/ipq806x/patches-3.18/024-ap148-add-memory-node.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/ipq806x/patches-3.18/024-ap148-add-memory-node.patch b/target/linux/ipq806x/patches-3.18/024-ap148-add-memory-node.patch
new file mode 100644
index 0000000000..f026ed9394
--- /dev/null
+++ b/target/linux/ipq806x/patches-3.18/024-ap148-add-memory-node.patch
@@ -0,0 +1,14 @@
+--- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
++++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
+@@ -4,6 +4,11 @@
+ model = "Qualcomm IPQ8064/AP148";
+ compatible = "qcom,ipq8064-ap148", "qcom,ipq8064";
+
++ memory@0 {
++ reg = <0x42000000 0x1e000000>;
++ device_type = "memory";
++ };
++
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;