[PATCH 3/7] mmc: msm_sdhci: print core version
Neil Armstrong
neil.armstrong at linaro.org
Wed Apr 10 10:40:05 CEST 2024
On 09/04/2024 20:03, Caleb Connolly wrote:
> 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.
> */
>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
More information about the U-Boot
mailing list