
20 Sep
2022
20 Sep
'22
11:40 p.m.
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@kernel.org Reviewed-by: Simon Glass sjg@chromium.org
This breaks building on a number of platforms such as ds109 probably due to DM_SERIAL not being enabled.
--
Tom