]> git.baikalelectronics.ru Git - kernel.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Jul 2013 22:43:16 +0000 (15:43 -0700)
commit1ce112d70c272cb01f74d5208f19546a252ed321
tree9c40dcf695ce96577e9e562eb05f1867a1908b21
parent4b0f8ff690c9d0546072d3788307706d1e3c1685
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