]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/stm32_sdmmc2.c
efi_loader: catch misspelled bootefi subcommand
[u-boot] / drivers / mmc / stm32_sdmmc2.c
index 0e1f40b569f0327ae2fa5b3f758a82920a5ea843..f3b77f512e8579fe705470abebf4621511c991c0 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Copyright (C) STMicroelectronics SA 2017
- * Author(s): Patrice CHOTARD, <patrice.chotard@st.com> for STMicroelectronics.
+ * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
+ * Author(s): Patrice Chotard, <patrice.chotard@st.com> for STMicroelectronics.
  *
  * SPDX-License-Identifier:    GPL-2.0+
  */
@@ -276,7 +276,7 @@ static int stm32_sdmmc2_end_cmd(struct stm32_sdmmc2_priv *priv,
 
        /* Polling status register */
        ret = readl_poll_timeout(priv->base + SDMMC_STA, status, status & mask,
-                                300);
+                                10000);
 
        if (ret < 0) {
                debug("%s: timeout reading SDMMC_STA register\n", __func__);
@@ -569,7 +569,7 @@ static int stm32_sdmmc2_probe(struct udevice *dev)
        case 1:
                break;
        default:
-               error("invalid \"bus-width\" property, force to 1\n");
+               pr_err("invalid \"bus-width\" property, force to 1\n");
        }
 
        upriv->mmc = &plat->mmc;