console: add a flag to prepend '\r' in the multi-console framework
Currently, console drivers prepend '\r' to '\n' by themselves. This is
common enough to be supported in the framework.

Add a new flag, CONSOLE_FLAG_TRANSLATE_CRLF. A driver can set this
flag to ask the framework to transform LF into CRLF instead of doing
it by itself.

Change-Id: I4f5c5887591bc0a8749a105abe62b6562eaf503b
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent d1b6013 commit f51df47572fb9d5e6808a07ccf5a7e6a5170554d
@Masahiro Yamada Masahiro Yamada authored on 22 Jul 2019
Showing 3 changed files
View
drivers/console/multi_console.c
View
include/drivers/console.h
View
plat/common/aarch64/crash_console_helpers.S