imx: add polled io uart methods
commit01f56abd089dd216e537817b61497c58bb66aab3
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 22 Dec 2011 08:57:53 +0000 (22 09:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Jan 2012 00:30:35 +0000 (4 16:30 -0800)
treefdcd62ec26fe0b88f7cd485e7da04e1c8cfc132e
parent0ad5a81472a9d6a0e826e0c6ebe66d3792932a93
imx: add polled io uart methods

These methods are invoked if the iMX uart is used in conjuction with kgdb during
early boot.  In order to access the UART without the interrupts, the kernel uses
the basic polling methods for IO with the device.  With these methods
implemented, it is now possible to enable kgdb during early boot over serial.

Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
CC: Sascha Hauer <s.hauer@pengutronix.de>
CC: Fabio Estevam <festevam@gmail.com>
CC: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
CC: linux-serial@vger.kernel.org
CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/serial/imx.c