summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2010-10-19 14:05:15 +0530
committerVarun Colbert <vcolbert@nvidia.com>2010-11-22 14:53:41 -0800
commitff4d0279c458b724d273efd88ee87ff7caf48991 (patch)
tree5f3bdaf3425bf75d3d83554b26bb5ca0f47232ac /arch
parent6678b8e8e8a087955cf60f3dc84abd9b246c956f (diff)
[arm/tegra] serial: Support for break on console driver.
There is sysrq feature which works from console with sending break and then character. The console driver uses the 8250 driver. In tegra uart controller, after receiving break, it needs to clear the rx fifo by reading fifo till empty to receive the another break/character. Fixing this issue in 8250 driver. bug 697978 Change-Id: I4eb71a67bafc186ec9934fce164e28ad86fa0ace Reviewed-on: http://git-master/r/8736 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'arch')
-rwxr-xr-xarch/arm/mach-tegra/board-nvodm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/board-nvodm.c b/arch/arm/mach-tegra/board-nvodm.c
index d601636c958f..ff4c5bd08c3c 100755
--- a/arch/arm/mach-tegra/board-nvodm.c
+++ b/arch/arm/mach-tegra/board-nvodm.c
@@ -94,7 +94,9 @@ extern const struct tegra_pingroup_config *tegra_pinmux_get(const char *dev_id,
static struct plat_serial8250_port debug_uart_platform[] = {
{
- .flags = UPF_BOOT_AUTOCONF,
+ /* Force the debug console UART port type to PORT_TEGRA.*/
+ .flags = UPF_BOOT_AUTOCONF | UPF_FIXED_TYPE,
+ .type = PORT_TEGRA,
.iotype = UPIO_MEM,
.regshift = 2,
}, {