]> 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 65a468dec9f5e4f2a4b795341ba8d9b675777598..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>
@@ -29,7 +30,6 @@ u32 uniphier_smp_booted[CONFIG_ARMV7_PSCI_NR_CPUS];
 static int uniphier_get_nr_cpus(void)
 {
        switch (uniphier_get_soc_id()) {
-       case UNIPHIER_SLD3_ID:
        case UNIPHIER_PRO4_ID:
        case UNIPHIER_PRO5_ID:
                return 2;
@@ -92,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();
 }