mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
fc245338d6
Adresses of device tree nodes are typically noted without the '0x' prefix. While having the '0x' prefix doesn't hurt when using Linux, more recent versions of U-Boot will add a duplicate ramoops node as a simple string compare is used to check if the node is already present. Remove the '0x' prefix to avoid the kernel warning resulting from U-Boot adding a dupplicate pstore/ramoops node. See also https://lists.denx.de/pipermail/u-boot/2022-April/481810.html Signed-off-by: Daniel Golle <daniel@makrotopia.org>
26 lines
581 B
Diff
26 lines
581 B
Diff
--- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
|
+++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi
|
|
@@ -111,7 +111,7 @@
|
|
};
|
|
|
|
psci {
|
|
- compatible = "arm,psci-0.2";
|
|
+ compatible = "arm,psci-1.0";
|
|
method = "smc";
|
|
};
|
|
|
|
@@ -127,6 +127,13 @@
|
|
#size-cells = <2>;
|
|
ranges;
|
|
|
|
+ /* 64 KiB reserved for ramoops/pstore */
|
|
+ ramoops@42ff0000 {
|
|
+ compatible = "ramoops";
|
|
+ reg = <0 0x42ff0000 0 0x10000>;
|
|
+ record-size = <0x1000>;
|
|
+ };
|
|
+
|
|
/* 192 KiB reserved for ARM Trusted Firmware (BL31) */
|
|
secmon_reserved: secmon@43000000 {
|
|
reg = <0 0x43000000 0 0x30000>;
|