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

Add the sdhci DT node to SPL DT to allow boot from MMC.
Signed-off-by: Baruch Siach baruch@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

On 08.05.19 16:27, Baruch Siach wrote:
Add the sdhci DT node to SPL DT to allow boot from MMC.
Signed-off-by: Baruch Siach baruch@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
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
participants (2)
-
Baruch Siach
-
Stefan Roese