public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: linux-kernel-dev at beckhoff.com <linux-kernel-dev@beckhoff.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] dm: mmc: socfpga: call dwmci_probe()
Date: Tue, 6 Mar 2018 09:07:23 +0100	[thread overview]
Message-ID: <20180306080723.28405-1-linux-kernel-dev@beckhoff.com> (raw)

From: Patrick Bruenn <p.bruenn@beckhoff.com>

On a socfpga_cyclone5 based board the SD card, was never powered up. For
other dw_mmc based SoCs dwmci_probe() is called in the platform specific
probe(). It seems this call is missing for socfpga_dw_mmc.

With this change DWMCI_PWREN is set by dmwci_init().

Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
---

 drivers/mmc/socfpga_dw_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c
index 759686ccd6..c5fce8f09d 100644
--- a/drivers/mmc/socfpga_dw_mmc.c
+++ b/drivers/mmc/socfpga_dw_mmc.c
@@ -124,7 +124,7 @@ static int socfpga_dwmmc_probe(struct udevice *dev)
 	upriv->mmc = host->mmc;
 	host->mmc->dev = dev;
 
-	return 0;
+	return dwmci_probe(dev);
 }
 
 static int socfpga_dwmmc_bind(struct udevice *dev)
-- 
2.11.0

             reply	other threads:[~2018-03-06  8:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180306080745epcas1p35875122732841a340d2f15813f8cc7fb@epcas1p3.samsung.com>
2018-03-06  8:07 ` linux-kernel-dev at beckhoff.com [this message]
2018-03-08  2:17   ` [U-Boot] [PATCH] dm: mmc: socfpga: call dwmci_probe() Jaehoon Chung
2018-03-08  3:12     ` Marek Vasut
2018-03-08  3:56       ` Jaehoon Chung
2018-03-08  5:39         ` Patrick Brünn
2018-03-09  6:51         ` Patrick Brünn
2018-03-09  8:24           ` Jaehoon Chung
2018-03-09 18:13             ` Marek Vasut
2018-03-13  5:01               ` Jaehoon Chung
2018-03-09 18:12           ` Marek Vasut
2018-04-26 10:30   ` [U-Boot] " Jaehoon Chung
2018-04-26 12:01     ` Marek Vasut
2018-04-27  8:35       ` Jaehoon Chung
2018-04-27  8:48         ` Marek Vasut
2018-04-30  6:37           ` Jaehoon Chung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180306080723.28405-1-linux-kernel-dev@beckhoff.com \
    --to=linux-kernel-dev@beckhoff.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox