Message ID | 20240409-b4-qcom-mmc-fixes-v1-3-5039164ecbf7@linaro.org |
---|---|
State | New |
Headers | show |
Series | qcom: mmc fixes and sdm845 support | expand |
On 09/04/2024 20:03, Caleb Connolly wrote: > This is useful for debugging. > > Signed-off-by: Caleb Connolly <caleb.connolly@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. > */ > Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
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. */
This is useful for debugging. Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org> --- drivers/mmc/msm_sdhci.c | 2 ++ 1 file changed, 2 insertions(+)