Date: Mon, 10 Apr 2006 03:20:12 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 94887 for review Message-ID: <200604100320.k3A3KCDH086388@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604100320.k3A3KCDH086388>