]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb0528c34c3db45854b057fadc714a88ab82e3d8
tree426b431b368e24f805fcbd3af7e999c20505cbef
parentf8ec8c795e71fe7fbbddcb696b94d48ddc46c5ad
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