[PATCH 1/2] arm: imx8mq: re-enable DDRC for Barebox

Lucas Stach dev at lynxeye.de
Thu Jun 9 14:43:29 PDT 2022


With Linux 5.18 the DDRC is disabled for most boards in the upstream
DT, as it isn't used. Barebox however needs the DDRC node to be enabled
as it has a driver to read the memory size from the controller and ends
up with no available RAM without this driver being present.

Signed-off-by: Lucas Stach <dev at lynxeye.de>
---
 arch/arm/dts/imx8mq-ddrc.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx8mq-ddrc.dtsi b/arch/arm/dts/imx8mq-ddrc.dtsi
index 1df39151a1cd..6961477eef38 100644
--- a/arch/arm/dts/imx8mq-ddrc.dtsi
+++ b/arch/arm/dts/imx8mq-ddrc.dtsi
@@ -8,3 +8,7 @@
 	/delete-node/ memory at 40000000;
 };
 
+&ddrc {
+	status = "okay";
+};
+
-- 
2.36.1




More information about the barebox mailing list