MLK-16980 arm64: dts: imx8mq: adjust the cma allocation
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 30 Nov 2017 05:44:43 +0000 (13:44 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:49:45 +0000 (14:49 -0500)
To resolve the confliction between CMA and the M4 reserved
memory region. Adjust the cma size and range.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
arch/arm64/boot/dts/freescale/fsl-imx8mq.dtsi

index 1ca177f..a0408d4 100644 (file)
@@ -76,8 +76,8 @@
                linux,cma {
                        compatible = "shared-dma-pool";
                        reusable;
-                       size = <0 0x40000000>;
-                       alloc-ranges = <0 0x40000000 0 0x70000000>;
+                       size = <0 0x3c000000>;
+                       alloc-ranges = <0 0x40000000 0 0x40000000>;
                        linux,cma-default;
                };