From adfa28edcfcddab2ddc93f33e100a3e9f93adee4 Mon Sep 17 00:00:00 2001 From: mark Date: Wed, 24 Jun 1998 19:22:48 +0000 Subject: [PATCH] Disable cpu_reset() on OFW configurations as they will use OF_boot() instead. --- sys/arch/arm32/arm32/locore.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/arch/arm32/arm32/locore.S b/sys/arch/arm32/arm32/locore.S index 3bb39d1a2d19..4bcbcccb5039 100644 --- a/sys/arch/arm32/arm32/locore.S +++ b/sys/arch/arm32/arm32/locore.S @@ -1,4 +1,4 @@ -/* $NetBSD: locore.S,v 1.26 1998/06/17 20:14:07 mark Exp $ */ +/* $NetBSD: locore.S,v 1.27 1998/06/24 19:22:48 mark Exp $ */ /* * Copyright (C) 1994-1997 Mark Brinicombe @@ -166,6 +166,9 @@ Lfiqmsg: .asciz "fiq" .align 0 +#ifndef OFW + /* OFW based systems will used OF_boot() */ + Lcpufuncs: .word _cpufuncs @@ -193,6 +196,7 @@ Lboot_cache_purged: mcr 15, 0, r0, c1, c0, 0 mcr 15, 0, r0, c8, c7, 0 mov pc, r4 +#endif /* * _cpu_reset_address contains the address to branch to, to complete