Module Name: src
Committed By: skrll
Date: Fri Nov 27 09:45:03 UTC 2015
Modified Files:
src/sys/arch/evbarm/odroid: odroid_start.S
Log Message:
Save a whole instruction when KERNEL_BASE_VOFFSET is zero.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/odroid/odroid_start.S
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_start.S
diff -u src/sys/arch/evbarm/odroid/odroid_start.S:1.16 src/sys/arch/evbarm/odroid/odroid_start.S:1.17
--- src/sys/arch/evbarm/odroid/odroid_start.S:1.16 Fri Nov 27 09:43:18 2015
+++ src/sys/arch/evbarm/odroid/odroid_start.S Fri Nov 27 09:45:03 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: odroid_start.S,v 1.16 2015/11/27 09:43:18 skrll Exp $ */
+/* $NetBSD: odroid_start.S,v 1.17 2015/11/27 09:45:03 skrll Exp $ */
/*-
* Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
#include <evbarm/odroid/platform.h>
-RCSID("$NetBSD: odroid_start.S,v 1.16 2015/11/27 09:43:18 skrll Exp $")
+RCSID("$NetBSD: odroid_start.S,v 1.17 2015/11/27 09:45:03 skrll Exp $")
#if defined(VERBOSE_INIT_ARM)
@@ -99,7 +99,9 @@ _C_LABEL(odroid_start):
*/
movw r4, #:lower16:uboot_args
movt r4, #:upper16:uboot_args
+#if KERNEL_BASE_VOFFSET != 0
sub r4, r4, #KERNEL_BASE_VOFFSET
+#endif
stmia r4, {r0-r3} // Save the arguments
/*