]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
serial: imx: distinguish the imx6q uart from the others
authorHuang Shijie <b32955@freescale.com>
Mon, 8 Jul 2013 09:14:17 +0000 (17:14 +0800)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:04 +0000 (09:54 +0800)
commit6d5f203f5307108e0232ecdbdc8583f9e83ca67f
tree10d0dd20be0ab28a94f67a5dda31cbb4462019fd
parent17af01038ee59a4943ec76be78656171d5ab98e6
serial: imx: distinguish the imx6q uart from the others

We will add the DMA support for the imx uart. For the firmware's limit,
only the imx6 serial chips (including the imx6q, imx6dl, imx6sl) can
support the DMA.

This patch adds the necessary macro and helper to distinguish the
imx6q uart from the other imx uart. Other chips can use the "fsl,imx6q-uart"
to enable the DMA support.

This patch also replaces the check "is_imx21_uart()" with "!is_imx1_uart()".

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c