Author: florian Date: 2014-06-28 00:17:00 +0200 (Sat, 28 Jun 2014) New Revision: 41363
Added: trunk/target/linux/ar7/patches-3.10/001-mips-ar7-fix-serial.patch Log: ar7: backport an upstream fixing serial console Signed-off-by: Florian Fainelli <[email protected]> Added: trunk/target/linux/ar7/patches-3.10/001-mips-ar7-fix-serial.patch =================================================================== --- trunk/target/linux/ar7/patches-3.10/001-mips-ar7-fix-serial.patch (rev 0) +++ trunk/target/linux/ar7/patches-3.10/001-mips-ar7-fix-serial.patch 2014-06-27 22:17:00 UTC (rev 41363) @@ -0,0 +1,28 @@ +From 443ab715a40881d6c9ba11b027ba154bac904cb0 Mon Sep 17 00:00:00 2001 +From: Oswald Buddenhagen <[email protected]> +Date: Sat, 10 May 2014 23:19:08 +0200 +Subject: [PATCH] MIPS/AR7: ensure that serial ports are properly set up + +without UPF_FIXED_TYPE, the data from the PORT_AR7 uart_config entry is +never copied, resulting in a dead port. + +Signed-off-by: Oswald Buddenhagen <[email protected]> +--- + arch/mips/ar7/platform.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/arch/mips/ar7/platform.c b/arch/mips/ar7/platform.c +index 7e2356f..e4f47d3 100644 +--- a/arch/mips/ar7/platform.c ++++ b/arch/mips/ar7/platform.c +@@ -581,6 +581,7 @@ static int __init ar7_register_uarts(void) + uart_port.type = PORT_AR7; + uart_port.uartclk = clk_get_rate(bus_clk) / 2; + uart_port.iotype = UPIO_MEM32; ++ uart_port.flags = UPF_FIXED_TYPE; + uart_port.regshift = 2; + + uart_port.line = 0; +-- +1.8.5.3.2.g3dbf181 + _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
