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

Sascha Hauer sha at pengutronix.de
Fri Jun 10 00:45:43 PDT 2022


On Thu, Jun 09, 2022 at 11:43:29PM +0200, Lucas Stach wrote:
> 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(+)

Applied, thanks

Sascha

> 
> 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
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list