This is useful for debugging.

Signed-off-by: Caleb Connolly <caleb.conno...@linaro.org>
---
 drivers/mmc/msm_sdhci.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mmc/msm_sdhci.c b/drivers/mmc/msm_sdhci.c
index 5689b4765122..ea5d6b4cbbee 100644
--- a/drivers/mmc/msm_sdhci.c
+++ b/drivers/mmc/msm_sdhci.c
@@ -172,8 +172,10 @@ static int msm_sdc_probe(struct udevice *dev)
        core_major >>= SDCC_VERSION_MAJOR_SHIFT;
 
        core_minor = core_version & SDCC_VERSION_MINOR_MASK;
 
+       log_debug("SDCC version %d.%d\n", core_major, core_minor);
+
        /*
         * Support for some capabilities is not advertised by newer
         * controller versions and must be explicitly enabled.
         */

-- 
2.44.0

Reply via email to