commit | a48a24ff864bff46cc05224a9282c1b6380cf427 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Mon Sep 05 11:31:19 2022 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Sep 24 11:34:37 2022 -0400 |
tree | 126ed9de35861d001877adb0414e272427a61b97 | |
parent | 9c9ceca51b598f87012127de675ca5b365585d93 [diff] |
serial: Implement serial_flush() function for console flush() fallback 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@kernel.org> Reviewed-by: Simon Glass <sjg@chromium.org>