From: Erik M. <er...@us...> - 2002-01-06 15:46:20
|
Update of /cvsroot/blob/blob/src/lib In directory usw-pr-cvs1:/tmp/cvs-serv19559/src/lib Modified Files: reboot.c Log Message: Flush the serial output queue before we either reboot, reblob, or start the kernel. Index: reboot.c =================================================================== RCS file: /cvsroot/blob/blob/src/lib/reboot.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- reboot.c 2001/10/07 22:36:11 1.1 +++ reboot.c 2002/01/06 15:46:17 1.2 @@ -29,7 +29,6 @@ #include <blob/serial.h> #include <blob/sa1100.h> -#include <blob/time.h> @@ -43,8 +42,7 @@ int reboot(int argc, char *argv[]) { SerialOutputString("Rebooting...\n\n"); - - msleep(500); + serial_flush_output(); RCSR = 0; RSRR = 1; |