Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/odroid Use movw/movt to get EXYNOS_CORE_PBAS...
details: https://anonhg.NetBSD.org/src/rev/f180824c3ef1
branches: trunk
changeset: 341876:f180824c3ef1
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Nov 27 07:45:58 2015 +0000
description:
Use movw/movt to get EXYNOS_CORE_PBASE (just in case)
diffstat:
sys/arch/evbarm/odroid/odroid_start.S | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (31 lines):
diff -r 030f6f2a172b -r f180824c3ef1 sys/arch/evbarm/odroid/odroid_start.S
--- a/sys/arch/evbarm/odroid/odroid_start.S Fri Nov 27 07:44:39 2015 +0000
+++ b/sys/arch/evbarm/odroid/odroid_start.S Fri Nov 27 07:45:58 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: odroid_start.S,v 1.11 2015/11/27 07:44:39 skrll Exp $ */
+/* $NetBSD: odroid_start.S,v 1.12 2015/11/27 07:45:58 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.11 2015/11/27 07:44:39 skrll Exp $")
+RCSID("$NetBSD: odroid_start.S,v 1.12 2015/11/27 07:45:58 skrll Exp $")
#if defined(VERBOSE_INIT_ARM)
@@ -154,12 +154,8 @@
/*
* For easy and early SoC / PoP dependency, retrieve the IDs
*/
-#if 1
- mov r6, #EXYNOS_CORE_PBASE
-#else
movw r6, #:lower16:EXYNOS_CORE_PBASE
movt r6, #:upper16:EXYNOS_CORE_PBASE
-#endif
ldr r0, [r6, #EXYNOS_PROD_ID_OFFSET] // load soc_id
Home |
Main Index |
Thread Index |
Old Index