[PATCH v2 4/8] arm: dts: k3-am625-sk: Enable emmc in SPL

Sverdlin, Alexander alexander.sverdlin at siemens.com
Tue Sep 19 09:35:27 CEST 2023


Hello Sjoerd,

On Thu, 2023-04-06 at 20:55 +0200, Sjoerd Simons wrote:
> sdhci0 on the k3-am625-sk is the emmc, enable this in SPL as well to
> allow booting from that media.
> 
> Signed-off-by: Sjoerd Simons <sjoerd at collabora.com>
> Reviewed-by: Tom Rini <trini at konsulko.com>

thanks for the patch! I've tested the eMMC boot on AM625 SK
and this was exactly the missing piece, with the patch it boots fine:

Tested-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>

> ---
> 
> (no changes since v1)
> 
>  arch/arm/dts/k3-am625-sk-u-boot.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> index 0def84b4cf0..5f90a4b56f1 100644
> --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi
> @@ -92,6 +92,14 @@
>         bootph-pre-ram;
>  };
>  
> +&sdhci0 {
> +       bootph-pre-ram;
> +};
> +
> +&main_mmc0_pins_default {
> +       bootph-pre-ram;
> +};
> +
>  &sdhci1 {
>         bootph-pre-ram;
>  };

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com


More information about the U-Boot mailing list