Re: [PATCH 02/10] sandbox: Correct loss of early output in SPL

2022-04-19 Thread Tom Rini
On Sun, Mar 27, 2022 at 02:26:14PM -0600, Simon Glass wrote: > At present fputc() is used before the console is available, then write() > is used. These are not compatible. Since fputc() buffers internally it is > better to use the write(), so that a partial line is immediately > displayed. > >

[PATCH 02/10] sandbox: Correct loss of early output in SPL

2022-03-27 Thread Simon Glass
At present fputc() is used before the console is available, then write() is used. These are not compatible. Since fputc() buffers internally it is better to use the write(), so that a partial line is immediately displayed. This has a slight effect on performance, but we are already using write()