Module Name: src Committed By: reinoud Date: Mon Aug 4 11:30:10 UTC 2014
Modified Files: src/sys/arch/evbarm/odroid: odroid_machdep.c Log Message: Remove old bootargs hack; now just rely on the common `BOOT_ARGS' config variable if defined. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/evbarm/odroid/odroid_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/evbarm/odroid/odroid_machdep.c diff -u src/sys/arch/evbarm/odroid/odroid_machdep.c:1.21 src/sys/arch/evbarm/odroid/odroid_machdep.c:1.22 --- src/sys/arch/evbarm/odroid/odroid_machdep.c:1.21 Fri Jun 6 14:42:26 2014 +++ src/sys/arch/evbarm/odroid/odroid_machdep.c Mon Aug 4 11:30:10 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: odroid_machdep.c,v 1.21 2014/06/06 14:42:26 reinoud Exp $ */ +/* $NetBSD: odroid_machdep.c,v 1.22 2014/08/04 11:30:10 reinoud Exp $ */ /* * Copyright (c) 2014 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.21 2014/06/06 14:42:26 reinoud Exp $"); +__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.22 2014/08/04 11:30:10 reinoud Exp $"); #include "opt_evbarm_boardtype.h" #include "opt_exynos.h" @@ -404,13 +404,6 @@ curcpu()->ci_data.cpu_cc_freq = 1*1000*1 arm32_kernel_vm_init(KERNEL_VM_BASE, ARM_VECTORS_LOW, 0, devmap, mapallmem_p); - /* forget about passed bootargs for now */ - /* TODO translate `uboot_args' phys->virt to bootargs */ -char tmp[1000]; -strcpy(tmp, "-v"); - boot_args = tmp; // bootargs; - parse_mi_bootargs(boot_args); - /* we've a specific device_register routine */ evbarm_device_register = odroid_device_register; evbarm_device_register_post_config = odroid_device_register_post_config;