[PATCH v3 4/6] serial: Implement serial_flush() function for console flush() fallback

Tom Rini trini at konsulko.com
Tue Sep 20 23:40:39 CEST 2022


On Mon, Sep 05, 2022 at 11:31:19AM +0200, Pali Rohár wrote:

> Like in all other console functions, implement also serial_flush() function
> as a fallback int console flush() function.
> 
> Flush support is available only when config option CONSOLE_FLUSH_SUPPORT is
> enabled. So when it is disabled then provides just empty static inline
> function serial_flush().
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

This breaks building on a number of platforms such as ds109 probably due
to DM_SERIAL not being enabled.

-- 
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/attachments/20220920/965a9240/attachment.sig>


More information about the U-Boot mailing list