Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/fdt Use arm_fdt_cpu_bootstrap
details: https://anonhg.NetBSD.org/src/rev/fc2c48fc9270
branches: trunk
changeset: 968180:fc2c48fc9270
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Jan 05 17:20:01 2020 +0000
description:
Use arm_fdt_cpu_bootstrap
diffstat:
sys/arch/arm/fdt/arm64_platform.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diffs (39 lines):
diff -r 008a3ffe8782 -r fc2c48fc9270 sys/arch/arm/fdt/arm64_platform.c
--- a/sys/arch/arm/fdt/arm64_platform.c Sun Jan 05 17:16:07 2020 +0000
+++ b/sys/arch/arm/fdt/arm64_platform.c Sun Jan 05 17:20:01 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm64_platform.c,v 1.1 2020/01/05 17:16:07 jmcneill Exp $ */
+/* $NetBSD: arm64_platform.c,v 1.2 2020/01/05 17:20:01 jmcneill Exp $ */
/*-
* Copyright (c) 2020 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
#include "opt_console.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm64_platform.c,v 1.1 2020/01/05 17:16:07 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm64_platform.c,v 1.2 2020/01/05 17:20:01 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -73,11 +73,6 @@
{
}
-static void
-arm64_platform_bootstrap(void)
-{
-}
-
static const struct pmap_devmap *
arm64_platform_devmap(void)
{
@@ -110,7 +105,7 @@
static const struct arm_platform arm64_platform = {
.ap_devmap = arm64_platform_devmap,
- .ap_bootstrap = arm64_platform_bootstrap,
+ .ap_bootstrap = arm_fdt_cpu_bootstrap,
.ap_init_attach_args = arm64_platform_init_attach_args,
.ap_device_register = arm64_platform_device_register,
.ap_reset = psci_fdt_reset,
Home |
Main Index |
Thread Index |
Old Index