From: Erik M. <er...@us...> - 2002-01-06 15:46:20
|
Update of /cvsroot/blob/blob/src/blob In directory usw-pr-cvs1:/tmp/cvs-serv19559/src/blob Modified Files: linux.c reboot.c Log Message: Flush the serial output queue before we either reboot, reblob, or start the kernel. Index: linux.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/linux.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- linux.c 2001/12/19 20:00:15 1.7 +++ linux.c 2002/01/06 15:46:17 1.8 @@ -32,6 +32,7 @@ #include <blob/main.h> #include <blob/memory.h> #include <blob/util.h> +#include <blob/serial.h> #include <asm-arm/setup.h> @@ -60,6 +61,7 @@ /* we assume that the kernel is in place */ SerialOutputString("\nStarting kernel ...\n\n"); + serial_flush_output(); /* disable subsystems that want to be disabled before kernel boot */ exit_subsystems(); Index: reboot.c =================================================================== RCS file: /cvsroot/blob/blob/src/blob/reboot.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- reboot.c 2001/10/28 22:15:00 1.6 +++ reboot.c 2002/01/06 15:46:17 1.7 @@ -34,7 +34,6 @@ #include <blob/init.h> #include <blob/main.h> #include <blob/serial.h> -#include <blob/time.h> @@ -52,7 +51,7 @@ SerialOutputString("Restarting blob from RAM...\n\n"); - msleep(500); + serial_flush_output(); /* disable subsystems that want to be disabled */ exit_subsystems(); |