diff mbox series

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

Message ID 20230325000245.8467-2-martin.p.rowe@gmail.com
State Accepted
Commit e3104d81f635ad1bef39380e6f7901cf6c49957f
Delegated to: Stefan Roese
Headers show
Series arm: mvebu: clearfog: defconfig and eMMC updates | expand

Commit Message

Martin Rowe March 25, 2023, 12:02 a.m. UTC
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@gmail.com>
---
 arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefan Roese March 27, 2023, 7 a.m. UTC | #1
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@gmail.com>

Reviewed-by: Stefan Roese <sr@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
diff mbox series

Patch

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 {