
19 Apr
2022
19 Apr
'22
2:49 p.m.
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.
This has a slight effect on performance, but we are already using write() for the vast majority of the output with no obvious impacts.
Signed-off-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
--
Tom