Commit b084116f authored by Oswald Buddenhagen's avatar Oswald Buddenhagen Committed by James Hogan
Browse files

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.

Fixes: 154615d5

 ("MIPS: AR7: Use correct UART port type")
Signed-off-by: default avatarOswald Buddenhagen <>
[jonas.gorski: add Fixes tag]
Signed-off-by: default avatarJonas Gorski <>
Reviewed-by: default avatarFlorian Fainelli <>
Cc: Ralf Baechle <>
Cc: Greg Kroah-Hartman <>
Cc: Yoshihiro YUNOMAE <>
Cc: Nicolas Schichan <>
Cc: Oswald Buddenhagen <>
Cc: <>

Signed-off-by: default avatarJames Hogan <>
parent e6b03ab6
......@@ -575,6 +575,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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment