uniphier: set CONSOLE_FLAG_TRANSLATE_CRLF and clean up console driver
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 23 Jul 2019 03:53:41 +0000 (12:53 +0900)
committerPaul Beesley <paul.beesley@arm.com>
Tue, 3 Sep 2019 09:08:16 +0000 (09:08 +0000)
commitabfd5719741ff6a1b9f7f68c78154673b2fe98cc
tree9ba822ff0f47f48d05647cfffa0a37859dcace0c
parentf1b78d32fd95ca5ea996bb497417d701f809136a
uniphier: set CONSOLE_FLAG_TRANSLATE_CRLF and clean up console driver

This console driver sends '\r' before 'n', not after.
It works, but the convention is "\r\n" (i.e. CRLF)

Instead of fixing it in the driver, set CONSOLE_FLAG_TRANSLATE_CRLF
to leave it to the framework.

Change-Id: I2154e29313739a40dff70cfb5c0f8989136d4ad2
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
plat/socionext/uniphier/uniphier_console.S
plat/socionext/uniphier/uniphier_console_setup.c