Skip to content

Commit

Permalink
mediatek: mt7622: remove '0x' prefix from pstore address in dts
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dangowrt committed Apr 19, 2022
1 parent 9ba28f9 commit fc24533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -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>;
Expand Down
Expand Up @@ -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>;
Expand Down

0 comments on commit fc24533

Please sign in to comment.