aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-04-09 20:03:02 +0200
committerCaleb Connolly <caleb.connolly@linaro.org>2024-04-23 13:29:07 +0200
commitc2c1b03b49e64b1ce99755653680ce1b95348cad (patch)
tree988c2171dc2584c68f35fec49347c0c93d5cff78
parentf67f224acad4e4b4b3870eddecf1c9f70fc703cc (diff)
downloadu-boot-c2c1b03b49e64b1ce99755653680ce1b95348cad.zip
u-boot-c2c1b03b49e64b1ce99755653680ce1b95348cad.tar.gz
u-boot-c2c1b03b49e64b1ce99755653680ce1b95348cad.tar.bz2
mmc: msm_sdhci: print core version
This is useful for debugging. Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
-rw-r--r--drivers/mmc/msm_sdhci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/msm_sdhci.c b/drivers/mmc/msm_sdhci.c
index 5689b47..ea5d6b4 100644
--- a/drivers/mmc/msm_sdhci.c
+++ b/drivers/mmc/msm_sdhci.c
@@ -173,6 +173,8 @@ static int msm_sdc_probe(struct udevice *dev)
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.