ipq806x: add missing enclosing reserved-memory block on C2600/AD7200

Most of the time when booting kernel prints a warning from
mm/page_alloc.c when pstore/ramoops is being initialized and ramoops is
not functional.

Fix this by moving ramopps node into reserved-memory block as described
in kernel documentation.

Fixes: 2964e5024c ("ipq806x: kernel ramoops storage for C2600/AD7200")
Signed-off-by: Filip Matijević <filip.matijevic.pz@gmail.com>
This commit is contained in:
Filip Matijević 2023-02-05 09:34:41 +01:00 committed by Christian Marangi
parent bd9844a6fd
commit 047fb7c76d
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -10,14 +10,16 @@
device_type = "memory"; device_type = "memory";
}; };
ramoops@42100000 { reserved-memory {
compatible = "ramoops"; ramoops@42100000 {
reg = <0x42100000 0x40000>; compatible = "ramoops";
record-size = <0x4000>; reg = <0x42100000 0x40000>;
console-size = <0x4000>; record-size = <0x4000>;
ftrace-size = <0x4000>; console-size = <0x4000>;
pmsg-size = <0x4000>; ftrace-size = <0x4000>;
}; pmsg-size = <0x4000>;
};
};
aliases { aliases {
mdio-gpio0 = &mdio0; mdio-gpio0 = &mdio0;