Remove vestiges of the syncicache() call originally in powerpc/ofwboot

before rev 1.4. This change makes OF 2.4 machines actually boot, and
it works fine on my OF 2.01 machine. No reports of failures on other
archs.

I expect this change is fine as the original code flushed the just-loaded
ofwboot out of the cache, conditionalized on FIRMWORKSBUGS. In rev.
1.4, the code got in-lined, and changed to actually flush low memory
out of the cache. Since machines kept booting, I expect the firmware
was really flushing the binary out of the cache, so we're fine.
This commit is contained in:
wrstuden 2002-09-27 00:32:17 +00:00
parent e6c17aca91
commit 470e4ff3ac
1 changed files with 1 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: Locore.c,v 1.10 2002/03/29 15:15:07 tsutsui Exp $ */
/* $NetBSD: Locore.c,v 1.11 2002/09/27 00:32:17 wrstuden Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -58,14 +58,6 @@ asm("
.text
.globl _start
_start:
li 8,0
li 9,0x100
mtctr 9
1:
dcbf 0,8
icbi 0,8
addi 8,8,0x20
bdnz 1b
sync
isync