[PATCH 3/7] mmc: msm_sdhci: print core version
Caleb Connolly
caleb.connolly at linaro.org
Tue Apr 9 20:03:02 CEST 2024
This is useful for debugging.
Signed-off-by: Caleb Connolly <caleb.connolly at 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
More information about the U-Boot
mailing list