aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2020-05-12 12:02:06 +0200
committerMatthias Brugger <mbrugger@suse.com>2020-05-13 13:54:23 +0200
commit7acdc9aa096d4e2a4c32d887fdbf4cee381a1e92 (patch)
tree4bf6e9c45111b9b752e255dce13ef46cc5cef2c7 /drivers
parentcf24c739724f9c40086a73ee648001c79b9cf99c (diff)
downloadu-boot-7acdc9aa096d4e2a4c32d887fdbf4cee381a1e92.zip
u-boot-7acdc9aa096d4e2a4c32d887fdbf4cee381a1e92.tar.gz
u-boot-7acdc9aa096d4e2a4c32d887fdbf4cee381a1e92.tar.bz2
mmc: sdhci: Use debug for not supported SDMA info message
If CONFIG_MMC_SDHCI_SDMA is enabled but the HW could not support it, we no longer error out. Instead we do not enable it in the host. Change the output from printf to debug as this isn't an error but only additional information now. Signed-off-by: Matthias Brugger <mbrugger@suse.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/sdhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 6e8f6e3..8bb4393 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
@@ -744,8 +744,8 @@ int sdhci_setup_cfg(struct mmc_config *cfg, struct sdhci_host *host,
if ((caps & SDHCI_CAN_DO_SDMA)) {
host->flags |= USE_SDMA;
} else {
- printf("%s: Your controller doesn't support SDMA!!\n",
- __func__);
+ debug("%s: Your controller doesn't support SDMA!!\n",
+ __func__);
}
#endif
#if CONFIG_IS_ENABLED(MMC_SDHCI_ADMA)