Skip to contentSkip to conversation

arm: mvebu: clearfog: enable DM MMC

PATCH New Baruch Siach 2 participants 2 messages May 8, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: mvebu: clearfog: enable DM MMC

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

---
 arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 4 ++++
 configs/clearfog_defconfig                   | 1 +
 2 files changed, 5 insertions(+)
arch/arm/dts/armada-388-clearfog-u-boot.dtsi +4 -0
index f31691ee9491..a12694e17103 100644
@@ -7,3 +7,7 @@
 		u-boot,dm-spl;
 	};
 };
+
+&sdhci {
+	u-boot,dm-spl;
+};
configs/clearfog_defconfig +1 -0
index ee3fb149e465..0738e5e67809 100644
@@ -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
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 arm: mvebu: clearfog: enable DM MMC

Quoted 25 lines · Baruch Siach

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

---
  arch/arm/dts/armada-388-clearfog-u-boot.dtsi | 4 ++++
  configs/clearfog_defconfig                   | 1 +
  2 files changed, 5 insertions(+)
arch/arm/dts/armada-388-clearfog-u-boot.dtsi +4 -0
index f31691ee9491..a12694e17103 100644
@@ -7,3 +7,7 @@
  		u-boot,dm-spl;
  	};
  };
+
+&sdhci {
+	u-boot,dm-spl;
+};
configs/clearfog_defconfig +0 -0
index ee3fb149e465..0738e5e67809 100644

configs/clearfog_defconfig CONFIG_DM_GPIO=y · line 51

Quoted 7 lines
configs/clearfog_defconfig +1 -0
@@ -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

Its duplicating the DM_MMC support from this patch:

http://patchwork.ozlabs.org/patch/1094678/

Could you please re-send with the dtsi change only?

Thanks,
Stefan