mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
c4c986e419
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> SVN-Revision: 46555
15 lines
350 B
Diff
15 lines
350 B
Diff
--- 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>;
|