]> git.baikalelectronics.ru Git - uboot.git/commitdiff
arm: mvebu: clearfog: Fix MMC detection
authorMartin Rowe <martin.p.rowe@gmail.com>
Sat, 25 Mar 2023 00:02:43 +0000 (10:02 +1000)
committerStefan Roese <sr@denx.de>
Thu, 30 Mar 2023 05:05:20 +0000 (07:05 +0200)
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>
arch/arm/dts/armada-388-clearfog-u-boot.dtsi

index fb27a3b96fb281cadcd9647388bf86ba41ade9b6..906d8f2e67e082a6fe9a93860ec2a32216d7c271 100644 (file)
@@ -10,6 +10,7 @@
 
 &sdhci {
        bootph-pre-ram;
+       non-removable; /* assume that the card is always present, required for eMMC variant */
 };
 
 &gpio0 {