mirror of
https://gitee.com/openharmony/kernel_linux
synced 2024-12-14 18:30:40 +00:00
[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>
This commit is contained in:
parent
36ddf5bbde
commit
8faaea3faa
@ -51,7 +51,7 @@ static struct plat_serial8250_port au1x00_data[] = {
|
||||
#elif defined(CONFIG_SOC_AU1100)
|
||||
PORT(UART0_ADDR, AU1100_UART0_INT),
|
||||
PORT(UART1_ADDR, AU1100_UART1_INT),
|
||||
PORT(UART2_ADDR, AU1100_UART2_INT),
|
||||
/* The internal UART2 does not exist on the AU1100 processor. */
|
||||
PORT(UART3_ADDR, AU1100_UART3_INT),
|
||||
#elif defined(CONFIG_SOC_AU1550)
|
||||
PORT(UART0_ADDR, AU1550_UART0_INT),
|
||||
|
Loading…
Reference in New Issue
Block a user