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

Tom Rini trini at konsulko.com
Tue Apr 19 14:49:17 CEST 2022


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 at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot-custodians/attachments/20220419/d5e888a9/attachment.sig>


More information about the U-Boot-Custodians mailing list