OSDN Git Service

tty: serial: imx: enable imx serial console port as module
authorFugang Duan <fugang.duan@nxp.com>
Fri, 24 Jul 2020 07:08:14 +0000 (15:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 15:10:59 +0000 (17:10 +0200)
commit0db4f9b91c86bfe9d33e191a31b0150879e2acee
tree424a0d0d6478b4c711dd768074798ee08f0902e5
parenta5e0691fd9f610eb46ab4cd070fa7b08ee780bf4
tty: serial: imx: enable imx serial console port as module

Add support for building i.MX serial driver as module.

The changes of the patch:
- imx console driver can be built as module.
- move out earlycon code to separated driver like imx_earlycon.c,
  and imx earlycon driver only support build-in.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Link: https://lore.kernel.org/r/20200724070815.11445-2-fugang.duan@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/imx.c