
7 Sep
2022
7 Sep
'22
11:10 p.m.
On Mon, 5 Sept 2022 at 03:31, Pali Rohár pali@kernel.org 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@kernel.org
common/console.c | 3 +++ common/stdio.c | 8 ++++++++ drivers/serial/serial-uclass.c | 10 ++++++++++ include/serial.h | 5 +++++ 4 files changed, 26 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org