summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2014-07-12 23:45:34 +0000
committerJasper Lievisse Adriaanse <jasper@cvs.openbsd.org>2014-07-12 23:45:34 +0000
commit315a82f3a74846c075e6f82a0f47f85705d5b932 (patch)
treeda64677bbb179b5b6c09ad4e766e1d5a53e2ef94
parent716496a22c38923946faf514d6e0c4d93e8d9e12 (diff)
- remove CONSPEED from libsa.h
- remove unused define
-rw-r--r--sys/arch/octeon/stand/boot/Makefile4
-rw-r--r--sys/arch/octeon/stand/boot/libsa.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/sys/arch/octeon/stand/boot/Makefile b/sys/arch/octeon/stand/boot/Makefile
index c4fc6e0af66..4c5d0414dfa 100644
--- a/sys/arch/octeon/stand/boot/Makefile
+++ b/sys/arch/octeon/stand/boot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2013/06/05 01:02:29 jasper Exp $
+# $OpenBSD: Makefile,v 1.2 2014/07/12 23:45:33 jasper Exp $
NOMAN=
#MAN= boot.8
@@ -11,7 +11,7 @@ PROG= boot
NOPROG=
.endif
-CFLAGS+=-fno-pie
+CFLAGS+=-fno-pie -DCONSPEED=15200
AFLAGS+=-fno-pie
LDFLAGS+=-nopie
diff --git a/sys/arch/octeon/stand/boot/libsa.h b/sys/arch/octeon/stand/boot/libsa.h
index 28b282cc7a1..1d50caad8ff 100644
--- a/sys/arch/octeon/stand/boot/libsa.h
+++ b/sys/arch/octeon/stand/boot/libsa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libsa.h,v 1.2 2014/07/12 20:36:52 jasper Exp $ */
+/* $OpenBSD: libsa.h,v 1.3 2014/07/12 23:45:33 jasper Exp $ */
/*
* Copyright (c) 2013 Jasper Lievisse Adriaanse <jasper@openbsd.org>
@@ -19,8 +19,6 @@
#include <lib/libsa/stand.h>
#define DEFAULT_KERNEL_ADDRESS 0
-#define INITRD_BASE PHYS_TO_CKSEG0(0x04000000)
-#define CONSPEED 115200
extern char *kernelfile;