Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 492fd5f2 authored by Sergei Shtylylov's avatar Sergei Shtylylov Committed by Ralf Baechle
Browse files

[MIPS] Au1200: Make KGDB compile


    
AMD Au1200 SOC just doesn't have UART3, so KGDB won't even compile for it
as is, here's the fix to make KGDB use UART1.
    
Signed-off-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 80730555
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1198,7 +1198,11 @@ extern au1xxx_irq_map_t au1xxx_irq_map[];

/* UARTS 0-3 */
#define UART_BASE                 UART0_ADDR
#ifdef	CONFIG_SOC_AU1200
#define UART_DEBUG_BASE           UART1_ADDR
#else
#define UART_DEBUG_BASE           UART3_ADDR
#endif

#define UART_RX		0	/* Receive buffer */
#define UART_TX		4	/* Transmit buffer */