[openwrt/openwrt] mediatek: mt7622: remove '0x' prefix from pstore address in dts
LEDE Commits
lede-commits at lists.infradead.org
Sat Apr 23 10:49:26 PDT 2022
dangole pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/be8e9cae821fd60edafe42d4f525bd66a7001316
commit be8e9cae821fd60edafe42d4f525bd66a7001316
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Tue Apr 19 16:23:08 2022 +0100
mediatek: mt7622: remove '0x' prefix from pstore address in dts
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 at makrotopia.org>
(cherry picked from commit fc245338d6e02e61fa7ecbd1a828aed97cdbef88)
---
target/linux/mediatek/patches-5.10/105-dts-mt7622-enable-pstore.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/mediatek/patches-5.10/105-dts-mt7622-enable-pstore.patch b/target/linux/mediatek/patches-5.10/105-dts-mt7622-enable-pstore.patch
index 6ef56f8584..da42c07728 100644
--- a/target/linux/mediatek/patches-5.10/105-dts-mt7622-enable-pstore.patch
+++ b/target/linux/mediatek/patches-5.10/105-dts-mt7622-enable-pstore.patch
@@ -14,7 +14,7 @@
ranges;
+ /* 64 KiB reserved for ramoops/pstore */
-+ ramoops at 0x42ff0000 {
++ ramoops at 42ff0000 {
+ compatible = "ramoops";
+ reg = <0 0x42ff0000 0 0x10000>;
+ record-size = <0x1000>;
More information about the lede-commits
mailing list