]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/sti_sdhci.c
dm: core: Add ofnode function to read a 64-bit int
[u-boot] / drivers / mmc / sti_sdhci.c
index d8b5888b7ce29860e029f9bf334c35fa7010e4f1..8ed47e113db3c4bd18d524ae198c79c962ff5292 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
- *  Copyright (c) 2017
- *  Patrice Chotard <patrice.chotard@st.com>
- *
- * SPDX-License-Identifier:    GPL-2.0
+ * Copyright (C) 2017, STMicroelectronics - All Rights Reserved
+ * Author(s): Patrice Chotard, <patrice.chotard@st.com> for STMicroelectronics.
  */
 
 #include <common.h>
@@ -43,7 +42,7 @@ static int sti_mmc_core_config(struct udevice *dev)
        if (plat->instance) {
                ret = reset_deassert(&plat->reset);
                if (ret < 0) {
-                       error("MMC1 deassert failed: %d", ret);
+                       pr_err("MMC1 deassert failed: %d", ret);
                        return ret;
                }
        }