diff options
author | Stefan Eichenberger <stefan.eichenberger@toradex.com> | 2024-02-09 17:04:43 +0100 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2024-02-15 08:12:29 +0000 |
commit | 1263f108fb28480053c72d5fa12b4c9bc41bd963 (patch) | |
tree | 403582ebffe7086e062f35aa79ab739900e7e3f9 | |
parent | 757e132269ec9872995f9747e1f122148af672a4 (diff) |
arm64: dts: imx8mp-verdin: fix cma memory region
The kernel should search the correct cma memory region. This can be
achieved by deleting the property alloc-ranges. However, we used
delete-node instead of delete-property. Because of this the property was
still existing. For the Verdin iMX8MP this didn't have any side effects
for modules with only 1GB RAM because NXP sets alloc-ranges to a value
that works for 1GB and 2GB RAM. It had side effects for the Verdin
iMX8MM with 1GB though this is why we update it here as well.
Upstream-Status: Inappropriate [other]
We use the kernel configuration to define the CMA size and don't use the
linux,cma node in the device tree.
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi index 449094135dd7..c861aed5cdcf 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi @@ -193,7 +193,7 @@ linux,cma { size = <0 0x20000000>; - /delete-node/ alloc-ranges; + /delete-property/ alloc-ranges; }; }; }; |