Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/awin fix a31_mpinit sync for real this time ...
details: https://anonhg.NetBSD.org/src/rev/00c6eaa9ba4f
branches: trunk
changeset: 333350:00c6eaa9ba4f
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Oct 30 01:15:30 2014 +0000
description:
fix a31_mpinit sync for real this time (thanks matt@)
diffstat:
sys/arch/evbarm/awin/awin_start.S | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r f3364b441c47 -r 00c6eaa9ba4f sys/arch/evbarm/awin/awin_start.S
--- a/sys/arch/evbarm/awin/awin_start.S Thu Oct 30 00:55:53 2014 +0000
+++ b/sys/arch/evbarm/awin/awin_start.S Thu Oct 30 01:15:30 2014 +0000
@@ -41,7 +41,7 @@
#include <arm/allwinner/awin_reg.h>
#include <evbarm/awin/platform.h>
-RCSID("$NetBSD: awin_start.S,v 1.4 2014/10/30 00:55:53 jmcneill Exp $")
+RCSID("$NetBSD: awin_start.S,v 1.5 2014/10/30 01:15:30 jmcneill Exp $")
#if defined(VERBOSE_INIT_ARM)
#define XPUTC(n) mov r0, n; bl xputc
@@ -409,8 +409,8 @@
1: dmb // memory barrier
ldr r0, [r6] // load hatched
- tst r0, #0xe // our bits set yet?
- bxeq r4 // yes, return
+ cmp r0, #0xe // our bits set yet?
+ bxge r4 // yes, return
subs r5, r5, #1 // decrement count
bxeq r4 // 0? return
mov r0, #0x1d800 // 5.03ms
Home |
Main Index |
Thread Index |
Old Index