aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-04-19 16:23:08 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-04-19 17:07:23 +0100
commitfc245338d6e02e61fa7ecbd1a828aed97cdbef88 (patch)
tree90e5eaa1fc1d7fbe9a29eb0484ef7a481cb516ab /target/linux/mediatek
parent9ba28f978c76692876f4f5bc7ad66e8fc73084fb (diff)
downloadupstream-fc245338d6e02e61fa7ecbd1a828aed97cdbef88.tar.gz
upstream-fc245338d6e02e61fa7ecbd1a828aed97cdbef88.tar.bz2
upstream-fc245338d6e02e61fa7ecbd1a828aed97cdbef88.zip
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@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek')
-rw-r--r--target/linux/mediatek/patches-5.10/105-dts-mt7622-enable-pstore.patch2
-rw-r--r--target/linux/mediatek/patches-5.15/105-dts-mt7622-enable-pstore.patch2
2 files changed, 2 insertions, 2 deletions
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@0x42ff0000 {
++ ramoops@42ff0000 {
+ compatible = "ramoops";
+ reg = <0 0x42ff0000 0 0x10000>;
+ record-size = <0x1000>;
diff --git a/target/linux/mediatek/patches-5.15/105-dts-mt7622-enable-pstore.patch b/target/linux/mediatek/patches-5.15/105-dts-mt7622-enable-pstore.patch
index 6ef56f8584..da42c07728 100644
--- a/target/linux/mediatek/patches-5.15/105-dts-mt7622-enable-pstore.patch
+++ b/target/linux/mediatek/patches-5.15/105-dts-mt7622-enable-pstore.patch
@@ -14,7 +14,7 @@
ranges;
+ /* 64 KiB reserved for ramoops/pstore */
-+ ramoops@0x42ff0000 {
++ ramoops@42ff0000 {
+ compatible = "ramoops";
+ reg = <0 0x42ff0000 0 0x10000>;
+ record-size = <0x1000>;