imx: add necessary lpuart console_flush callback for debug
authorAnson Huang <Anson.Huang@nxp.com>
Tue, 15 Jan 2019 05:53:03 +0000 (13:53 +0800)
committerAnson Huang <Anson.Huang@nxp.com>
Tue, 15 Jan 2019 05:58:59 +0000 (13:58 +0800)
commitf1ac79642e0f9a2320f95a8e53042be625a989e0
tree62d1a21207b6cf008959eb04172012b46c5504db
parent63b9b5425f15a18b4afb957b1f1c861d14a611fa
imx: add necessary lpuart console_flush callback for debug

Current lpuart driver does NOT implement .console_flush callback,
if debug console is enabled, the console_flush() will call the
undefined .console_flush callback(NULL) for lpuart and leak to
panic, this patch adds .console_flush callback to make lpuart work
for debug mode.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
plat/imx/common/lpuart_console.S