PERFORCE change 94887 for review
Warner Losh
imp at FreeBSD.org
Mon Apr 10 03:20:17 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=94887
Change 94887 by imp at 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;
More information about the p4-projects
mailing list