arm64: dts: qcom: sm6350: Fix up the ramoops node
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Sat, 10 Dec 2022 10:25:59 +0000 (11:25 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 28 Dec 2022 03:55:54 +0000 (21:55 -0600)
Fix up the ramoops node to make it match bindings and style:

- remove "removed-dma-pool"
- don't pad size to 8 hex digits
- change cc-size to ecc-size so that it's used
- increase ecc-size from to 16
- remove the zeroed ftrace-size

Fixes: 5f82b9cda61e ("arm64: dts: qcom: Add SM6350 device tree")
Reported-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221210102600.589028-1-konrad.dybcio@linaro.org
arch/arm64/boot/dts/qcom/sm6350.dtsi

index 43324bf..00e43a0 100644 (file)
                };
 
                ramoops: ramoops@ffc00000 {
-                       compatible = "removed-dma-pool", "ramoops";
-                       reg = <0 0xffc00000 0 0x00100000>;
+                       compatible = "ramoops";
+                       reg = <0 0xffc00000 0 0x100000>;
                        record-size = <0x1000>;
                        console-size = <0x40000>;
-                       ftrace-size = <0x0>;
                        msg-size = <0x20000 0x20000>;
-                       cc-size = <0x0>;
+                       ecc-size = <16>;
                        no-map;
                };