summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/bugcrt/crt.c
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-02-01 03:38:24 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-02-01 03:38:24 +0000
commit8e8d908c6c5754fd0205eb089e6c5822f92d4473 (patch)
tree29b74cfdddc396e8a0985b07dd1affefefd062bf /sys/arch/mvme88k/stand/bugcrt/crt.c
parentbe6f95e73cf569c2b374d15432a35d294774c196 (diff)
Major changes to get MVME188 working. More header and code cleanups. The
kernel is tested on MVME188A/2P256 and MVME188A/1P64.
Diffstat (limited to 'sys/arch/mvme88k/stand/bugcrt/crt.c')
-rw-r--r--sys/arch/mvme88k/stand/bugcrt/crt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/stand/bugcrt/crt.c b/sys/arch/mvme88k/stand/bugcrt/crt.c
index 9b5c1debce4..7776e42b364 100644
--- a/sys/arch/mvme88k/stand/bugcrt/crt.c
+++ b/sys/arch/mvme88k/stand/bugcrt/crt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt.c,v 1.1 2001/01/13 05:19:01 smurph Exp $ */
+/* $OpenBSD: crt.c,v 1.2 2001/02/01 03:38:23 smurph Exp $ */
#include <sys/types.h>
#include <machine/prom.h>
@@ -24,7 +24,6 @@ start()
extern int edata, end;
struct mvmeprom_brdid *id, *mvmeprom_brdid();
-#ifdef STAGE1
/*
* This code enables the SFU1 and is used for single stage
* bootstraps or the first stage of a two stage bootstrap.
@@ -33,9 +32,8 @@ start()
*/
asm("| enable SFU1");
asm(" ldcr r25,cr1");
- asm(" xor r25,r25,0x8");
+ asm(" clr r25,r25,1<3>"); /* bit 3 is SFU1D */
asm(" stcr r25,cr1");
-#endif
bugargs.dev_lun = dev_lun;
bugargs.ctrl_lun = ctrl_lun;