]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mmc: msm_sdhci: print core version
authorCaleb Connolly <caleb.connolly@linaro.org>
Tue, 9 Apr 2024 18:03:02 +0000 (20:03 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:07 +0000 (13:29 +0200)
This is useful for debugging.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/mmc/msm_sdhci.c

index 5689b4765122f64b9faf0d02ec7f2a576369a196..ea5d6b4cbbeeba2f026debe1c1eaa53c12ea090d 100644 (file)
@@ -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.