]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-uniphier/arm32/psci.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / mach-uniphier / arm32 / psci.c
index 3ab101a9cfe80d14f0c57cfb80f326d3253e8a60..92ec7a94568576ba7552c3547d12e7062a97f171 100644 (file)
@@ -1,14 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2016 Socionext Inc.
  *   Author: Masahiro Yamada <yamada.masahiro@socionext.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 #include <linux/bitops.h>
+#include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/kernel.h>
+#include <linux/printk.h>
 #include <linux/psci.h>
 #include <linux/sizes.h>
 #include <asm/processor.h>
@@ -91,7 +92,7 @@ static void uniphier_smp_kick_all_cpus(void)
        }
 
        if (!timeout)
-               printf("warning: some of secondary CPUs may not boot\n");
+               pr_warn("warning: some of secondary CPUs may not boot\n");
 
        uniphier_cache_disable();
 }