tty: serial: lpuart: add earlycon support for imx7ulp
authorDong Aisheng <aisheng.dong@nxp.com>
Tue, 13 Jun 2017 02:55:53 +0000 (10:55 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Jun 2017 15:12:34 +0000 (17:12 +0200)
commit97d6f353dafa42281dc70a67006c9e40d395796a
tree426b431b368e24f805fcbd3af7e999c20505cbef
parent24b1e5f0e83c2aced8096473d20c4cf6c1355f30
tty: serial: lpuart: add earlycon support for imx7ulp

earlycon is executed quite early before the device tree probe,
so we need correctly initialize the port membase and iotype for
imx7ulp during early console setup before using.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.com>
Cc: Stefan Agner <stefan@agner.ch>
Cc: Mingkai Hu <Mingkai.Hu@nxp.com>
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c