Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Use PSCI to spinup secondary CPUs on sun5...



details:   https://anonhg.NetBSD.org/src/rev/5a72fbda6efe
branches:  trunk
changeset: 991326:5a72fbda6efe
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Jul 09 09:11:21 2018 +0000

description:
Use PSCI to spinup secondary CPUs on sun50i family SoCs.

diffstat:

 sys/arch/arm/sunxi/sunxi_platform.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r a7657a72f823 -r 5a72fbda6efe sys/arch/arm/sunxi/sunxi_platform.c
--- a/sys/arch/arm/sunxi/sunxi_platform.c       Mon Jul 09 09:10:28 2018 +0000
+++ b/sys/arch/arm/sunxi/sunxi_platform.c       Mon Jul 09 09:11:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_platform.c,v 1.23 2018/04/07 18:06:27 bouyer Exp $ */
+/* $NetBSD: sunxi_platform.c,v 1.24 2018/07/09 09:11:21 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
 #include "opt_fdt_arm.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.23 2018/04/07 18:06:27 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sunxi_platform.c,v 1.24 2018/07/09 09:11:21 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -372,7 +372,7 @@
 
 static const struct arm_platform sun50i_platform = {
        .devmap = sunxi_platform_devmap,
-       .bootstrap = sunxi_platform_bootstrap,
+       .bootstrap = sunxi_platform_psci_bootstrap,
        .init_attach_args = sunxi_platform_init_attach_args,
        .early_putchar = sunxi_platform_early_putchar,
        .device_register = sunxi_platform_device_register,
@@ -386,7 +386,7 @@
 
 static const struct arm_platform sun50i_h6_platform = {
        .devmap = sunxi_platform_devmap,
-       .bootstrap = sunxi_platform_bootstrap,
+       .bootstrap = sunxi_platform_psci_bootstrap,
        .init_attach_args = sunxi_platform_init_attach_args,
        .early_putchar = sunxi_platform_early_putchar,
        .device_register = sunxi_platform_device_register,



Home | Main Index | Thread Index | Old Index