]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4cda95c72b4184c87f01281d32f096fafca5b548
tree424a0d0d6478b4c711dd768074798ee08f0902e5
parent0cc6f4a85b01f9bc0257a025c296563e3c14844e
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