]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-uniphier/dram/cmd_ddrmphy.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / mach-uniphier / dram / cmd_ddrmphy.c
index 873dad229acf76d45e220b7f767a5f89f56c8370..9a25bba5997c618b87321bc3e6f4542318676b2c 100644 (file)
@@ -1,12 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2015-2017 Socionext Inc.
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <stdio.h>
 #include <linux/io.h>
+#include <linux/printk.h>
 #include <linux/sizes.h>
 
 #include "../soc-info.h"
@@ -297,7 +298,7 @@ static int do_ddrm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 
        param = uniphier_get_ddrmphy_param();
        if (!param) {
-               printf("unsupported SoC\n");
+               pr_err("unsupported SoC\n");
                return CMD_RET_FAILURE;
        }