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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 22:43:16 +0000 (15:43 -0700)
commita496e6284c482555db8078190bb689594d129fa9
tree9c40dcf695ce96577e9e562eb05f1867a1908b21
parent1cf93e0d5488e27270ece49e8c293d546140d144
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