Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SERIAL] Small time UART configuration fix for AU1100 processor

The AU1100 processor does not have an internal UART2. Only
UART0, UART1 and UART3 exist. This patch removes the non existing
UART2 and replaces it with a descriptive comment.

Signed-off-by: Freddy Spierenburg <freddy@dusktilldawn.nl>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Freddy Spierenburg and committed by
Russell King
8faaea3f 36ddf5bb

+1 -1
+1 -1
drivers/serial/8250_au1x00.c
··· 51 51 #elif defined(CONFIG_SOC_AU1100) 52 52 PORT(UART0_ADDR, AU1100_UART0_INT), 53 53 PORT(UART1_ADDR, AU1100_UART1_INT), 54 - PORT(UART2_ADDR, AU1100_UART2_INT), 54 + /* The internal UART2 does not exist on the AU1100 processor. */ 55 55 PORT(UART3_ADDR, AU1100_UART3_INT), 56 56 #elif defined(CONFIG_SOC_AU1550) 57 57 PORT(UART0_ADDR, AU1550_UART0_INT),