summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2023-02-08 14:34:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2023-02-10 10:41:37 +0100
commitb5e9e90cd5cf44cdf475d72932aba9564fb02a80 (patch)
tree3e67e9e226514b556707b7058e531715ae661816 /arch/arm/dts
parentf083fffe52ae19475391bc4b558442304c348415 (diff)
downloadbarebox-b5e9e90cd5cf44cdf475d72932aba9564fb02a80.tar.gz
barebox-b5e9e90cd5cf44cdf475d72932aba9564fb02a80.tar.xz
ARM: dts: i.MX8MP: remove DSP and DSP reserved memory nodes
The reserved memory for the DSP collides with the Barebox malloc area in some DRAM configuration. This causes the malloc region reservation to fail, with all kinds of resulting fallout. Remove the DSP and DSP reserved memory nodes from the Barebox DT to work around this issue. This means the DSP won't be usable if the system is booted with the Barebox builtin DT, but that seems like the best option so far. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Link: https://lore.barebox.org/20230208133408.1114573-3-l.stach@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/imx8mp.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi
index 778e84318c..6962d11e85 100644
--- a/arch/arm/dts/imx8mp.dtsi
+++ b/arch/arm/dts/imx8mp.dtsi
@@ -10,6 +10,13 @@
};
};
+/*
+ * The DSP reserved memory will collide with the Barebox malloc area for some
+ * DRAM sizes, even though the DSP itself is disabled in most configurations.
+ */
+/delete-node/ &dsp;
+/delete-node/ &dsp_reserved;
+
&edacmc {
compatible = "fsl,imx8mp-ddrc", "fsl,imx8m-ddrc", "snps,ddrc-3.80a";
};