[PATCH v2 1/3] arm: mvebu: clearfog: Fix MMC detection

Stefan Roese sr at denx.de
Mon Mar 27 09:00:22 CEST 2023


On 3/25/23 01:02, Martin Rowe wrote:
> A388 Clearfog MMC is either SD Card or eMMC with different behaviour for
> both. Setting the device to non-removable in the u-boot.dtsi allows both
> to correctly detect the device.
> 
> Signed-off-by: Martin Rowe <martin.p.rowe at gmail.com>

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> index fb27a3b96f..906d8f2e67 100644
> --- a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> +++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
> @@ -10,6 +10,7 @@
>   
>   &sdhci {
>   	bootph-pre-ram;
> +	non-removable; /* assume that the card is always present, required for eMMC variant */
>   };
>   
>   &gpio0 {

Viele Grüße,
Stefan Roese

-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list