[U-Boot] [PATCH] arm: mvebu: clearfog: enable DM MMC

Baruch Siach baruch at tkos.co.il
Wed May 8 14:27:44 UTC 2019


Add the sdhci DT node to SPL DT to allow boot from MMC.

Signed-off-by: Baruch Siach <baruch at tkos.co.il>
---
 arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 4 ++++
 configs/clearfog_defconfig                   | 1 +
 2 files changed, 5 insertions(+)

diff --git a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
index f31691ee9491..a12694e17103 100644
--- a/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
+++ b/arch/arm/dts/armada-388-clearfog-u-boot.dtsi
@@ -7,3 +7,7 @@
 		u-boot,dm-spl;
 	};
 };
+
+&sdhci {
+	u-boot,dm-spl;
+};
diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig
index ee3fb149e465..0738e5e67809 100644
--- a/configs/clearfog_defconfig
+++ b/configs/clearfog_defconfig
@@ -45,6 +45,7 @@ CONFIG_DM_GPIO=y
 CONFIG_DM_PCA953X=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MVTWSI=y
+CONFIG_DM_MMC=y
 CONFIG_SUPPORT_EMMC_BOOT=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_SDMA=y
-- 
2.20.1



More information about the U-Boot mailing list