Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/gumstix Fix boot on Gumstix Verdex boards.
details: https://anonhg.NetBSD.org/src/rev/a27e9c0fbb47
branches: trunk
changeset: 350052:a27e9c0fbb47
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Jan 02 21:46:59 2017 +0000
description:
Fix boot on Gumstix Verdex boards.
Reported by smesgr on port-arm
diffstat:
sys/arch/evbarm/gumstix/gumstix_start.S | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 00ff6450c318 -r a27e9c0fbb47 sys/arch/evbarm/gumstix/gumstix_start.S
--- a/sys/arch/evbarm/gumstix/gumstix_start.S Mon Jan 02 21:42:01 2017 +0000
+++ b/sys/arch/evbarm/gumstix/gumstix_start.S Mon Jan 02 21:46:59 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gumstix_start.S,v 1.14 2016/10/15 15:27:18 kiyohara Exp $ */
+/* $NetBSD: gumstix_start.S,v 1.15 2017/01/02 21:46:59 skrll Exp $ */
/*
* Copyright (C) 2005, 2006 WIDE Project and SOUM Corporation.
* All rights reserved.
@@ -71,7 +71,7 @@
#include <arm/omap/omap2_obioreg.h>
#endif
-RCSID("$NetBSD: gumstix_start.S,v 1.14 2016/10/15 15:27:18 kiyohara Exp $")
+RCSID("$NetBSD: gumstix_start.S,v 1.15 2017/01/02 21:46:59 skrll Exp $")
/*
* CPWAIT -- Canonical method to wait for CP15 update.
@@ -212,6 +212,8 @@
cmp r1, #0 /* Check MPIDR_MP (bit 31) */
orrlt r1, r0, #TTBR_MPATTR
orrge r1, r0, #TTBR_UPATTR
+#else
+ mov r1, r0
#endif
mcr p15, 0, r1, c2, c0, 0 /* Set TTB */
mcr p15, 0, r1, c8, c7, 0 /* Flush TLB */
Home |
Main Index |
Thread Index |
Old Index