mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] arm: imx8mq: re-enable DDRC for Barebox
@ 2022-06-09 21:43 Lucas Stach
  2022-06-09 21:43 ` [PATCH 2/2] ARM: mnt-reform: switch to upstream DT Lucas Stach
  2022-06-10  7:45 ` [PATCH 1/2] arm: imx8mq: re-enable DDRC for Barebox Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Lucas Stach @ 2022-06-09 21:43 UTC (permalink / raw)
  To: barebox

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@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@40000000;
 };
 
+&ddrc {
+	status = "okay";
+};
+
-- 
2.36.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-10  7:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 21:43 [PATCH 1/2] arm: imx8mq: re-enable DDRC for Barebox Lucas Stach
2022-06-09 21:43 ` [PATCH 2/2] ARM: mnt-reform: switch to upstream DT Lucas Stach
2022-06-10  7:45 ` [PATCH 1/2] arm: imx8mq: re-enable DDRC for Barebox Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox