summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/beagle/beagle/beagle_machdep.c10
-rw-r--r--sys/arch/beagle/stand/boot.scr/boot.cmd2
2 files changed, 3 insertions, 9 deletions
diff --git a/sys/arch/beagle/beagle/beagle_machdep.c b/sys/arch/beagle/beagle/beagle_machdep.c
index 253c796a24d..40f12e1628d 100644
--- a/sys/arch/beagle/beagle/beagle_machdep.c
+++ b/sys/arch/beagle/beagle/beagle_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: beagle_machdep.c,v 1.11 2011/11/08 22:41:41 krw Exp $ */
+/* $OpenBSD: beagle_machdep.c,v 1.12 2011/11/08 23:01:11 krw Exp $ */
/* $NetBSD: lubbock_machdep.c,v 1.2 2003/07/15 00:25:06 lukem Exp $ */
/*
@@ -241,8 +241,6 @@ int safepri = 0;
void omdog_reset(void);
void beagle_powerdown(void);
-#define BOOT_STRING_MAGIC 0x4f425344
-
char bootargs[MAX_BOOT_STRING];
void process_kernel_args(char *);
@@ -906,15 +904,11 @@ process_kernel_args(char *args)
{
char *cp = args;
- if (cp == NULL || *(int *)cp != BOOT_STRING_MAGIC) {
+ if (cp == NULL) {
boothowto = RB_AUTOBOOT;
return;
}
- /* Eat the cookie */
- *(int *)cp = 0;
- cp += sizeof(int);
-
boothowto = 0;
/* Make a local copy of the bootargs */
diff --git a/sys/arch/beagle/stand/boot.scr/boot.cmd b/sys/arch/beagle/stand/boot.scr/boot.cmd
index 13eaeb9b0c1..35b59a45e51 100644
--- a/sys/arch/beagle/stand/boot.scr/boot.cmd
+++ b/sys/arch/beagle/stand/boot.scr/boot.cmd
@@ -1,4 +1,4 @@
setenv loadaddr 0x82800000 ;
-setenv bootargs DSBOsd0i:/bsd.umg ;
+setenv bootargs sd0i:/bsd.umg ;
fatload mmc 0 ${loadaddr} bsd.umg ;
bootm ${loadaddr}