diff options
author | Stefan Eichenberger <stefan.eichenberger@toradex.com> | 2024-02-09 17:04:26 +0100 |
---|---|---|
committer | Francesco Dolcini <francesco.dolcini@toradex.com> | 2024-02-15 08:12:29 +0000 |
commit | 757e132269ec9872995f9747e1f122148af672a4 (patch) | |
tree | 4dbdb1f6ea9255fd3e10aa23929c20b2a4c7c510 | |
parent | 8e1756b1ff622f221235c9235ee59c28dff80a9f (diff) |
arm64: dts: imx8mm-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. With this we fix a mismatch between modules with 1024
and 2048 MB of RAM. The 1024 MB modules showed the following message
during boot and only used 32 MB for CMA:
OF: reserved mem: failed to allocate memory for node 'linux,cma'
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/imx8mm-verdin.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi index 8cd126e7a28d..334d937dfe74 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi @@ -160,7 +160,7 @@ linux,cma { size = <0 0x20000000>; - /delete-node/ alloc-ranges; + /delete-property/ alloc-ranges; }; }; }; |