From owner-p4-projects@FreeBSD.ORG Mon Apr 10 03:20:17 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 369AD16A44C; Mon, 10 Apr 2006 03:20:17 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEF9416A409 for ; Mon, 10 Apr 2006 03:20:16 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 160ED43D5C for ; Mon, 10 Apr 2006 03:20:13 +0000 (GMT) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3A3KC3c086394 for ; Mon, 10 Apr 2006 03:20:12 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3A3KCDH086388 for perforce@freebsd.org; Mon, 10 Apr 2006 03:20:12 GMT (envelope-from imp@freebsd.org) Date: Mon, 10 Apr 2006 03:20:12 GMT Message-Id: <200604100320.k3A3KCDH086388@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 94887 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: Mon, 10 Apr 2006 03:20:17 -0000 http://perforce.freebsd.org/chv.cgi?CH=94887 Change 94887 by imp@imp_hammer on 2006/04/10 03:19:58 Shave a bit more. Affected files ... .. //depot/projects/arm/src/sys/boot/arm/kb920x/boot0/debug_io.c#2 edit .. //depot/projects/arm/src/sys/boot/arm/kb920x/boot0/main.c#4 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/kb920x/boot0/debug_io.c#2 (text+ko) ==== @@ -36,23 +36,6 @@ pUSART->US_THR = (cValue & 0x1FF); } - -/* - * .KB_C_FN_DEFINITION_START - * void DebugPrint(char *) - * This global function writes a string to the debug uart port. - * .KB_C_FN_DEFINITION_END - */ -void DebugPrint(char *buffer) { - - if (!buffer) return; - - while(*buffer != '\0') { - DebugPutc(*buffer++); - } -} - - /* * .KB_C_FN_DEFINITION_START * int DebugGetchar(char *) ==== //depot/projects/arm/src/sys/boot/arm/kb920x/boot0/main.c#4 (text+ko) ==== @@ -33,7 +33,6 @@ char *addr = (char *)0x20000000 + (1 << 20); /* Load to base + 1MB */ fn_t *fn = (fn_t *)addr; - DebugPrint("FreeBSD AT91 serial bootstrap. XModem download.\r\n"); AT91C_BASE_PIOC->PIO_SODR = AT91C_PIO_PC10; xmodem_rx(addr); AT91C_BASE_PIOC->PIO_CODR = AT91C_PIO_PC10;