From: Caleb Connolly Date: Tue, 9 Apr 2024 18:03:02 +0000 (+0200) Subject: mmc: msm_sdhci: print core version X-Git-Url: http://git.dujemihanovic.xyz/posts?a=commitdiff_plain;h=c2c1b03b49e64b1ce99755653680ce1b95348cad;p=u-boot.git mmc: msm_sdhci: print core version This is useful for debugging. Reviewed-by: Neil Armstrong Signed-off-by: Caleb Connolly --- diff --git a/drivers/mmc/msm_sdhci.c b/drivers/mmc/msm_sdhci.c index 5689b47651..ea5d6b4cbb 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.