From owner-p4-projects@FreeBSD.ORG Thu Nov 30 00:27:49 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B9A0816A47E; Thu, 30 Nov 2006 00:27:49 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D63616A412 for ; Thu, 30 Nov 2006 00:27:49 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 917FC43CAF for ; Thu, 30 Nov 2006 00:27:41 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kAU0RjED051384 for ; Thu, 30 Nov 2006 00:27:45 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kAU0RjI6051381 for perforce@freebsd.org; Thu, 30 Nov 2006 00:27:45 GMT (envelope-from imp@freebsd.org) Date: Thu, 30 Nov 2006 00:27:45 GMT Message-Id: <200611300027.kAU0RjI6051381@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 110699 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Nov 2006 00:27:50 -0000 http://perforce.freebsd.org/chv.cgi?CH=110699 Change 110699 by imp@imp_lighthouse on 2006/11/30 00:27:30 Reboot! For GREAT Justice! Zig would be so proud. Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/boot0spi/main.c#24 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/boot0spi/main.c#24 (text) ==== @@ -36,7 +36,7 @@ int main(void) { - int len, i, j, off; + int len, i, j, off, sec; char *addr = (char *)SDRAM_BASE + (1 << 20); /* download at + 1MB */ char *addr2 = (char *)SDRAM_BASE + (2 << 20); /* readback to + 2MB */ char *addr3 = (char *)SDRAM_BASE + (3 << 20); /* extra copy at + 3MB */ @@ -59,6 +59,10 @@ if (j >= 10) printf("Bad Readback at %u\n", i); } + sec = GetSeconds() + 2; + while (sec <= GetSeconds()) + continue; printf("Done\n"); + reset(); return (1); }