]> git.baikalelectronics.ru Git - kernel.git/commit
imx: add polled io uart methods
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 22 Dec 2011 08:57:53 +0000 (09:57 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Jan 2012 00:30:35 +0000 (16:30 -0800)
commit074b2ccf19612c2c36d2f7daf414c241e8a3d97e
treefdcd62ec26fe0b88f7cd485e7da04e1c8cfc132e
parent5cf38402f49e83b3158489ef2cae4d34a4046fec
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