From ff4d0279c458b724d273efd88ee87ff7caf48991 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Tue, 19 Oct 2010 14:05:15 +0530 Subject: [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 Tested-by: Varun Colbert --- arch/arm/mach-tegra/board-nvodm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arch') 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, }, { -- cgit v1.2.3