From: Sergei Shtylylov Date: Thu, 26 Jan 2006 01:36:25 +0000 (+0300) Subject: [MIPS] Au1200: Make KGDB compile X-Git-Tag: v2.6.16-rc3~137^2~25 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=492fd5f2fdbc1bb7e1d517fd5e9b0cd9f3d0b623;p=linux-2.6-omap-h63xx.git [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: Sergei Shtylyov Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h index 8e1d7ed7d8e..4686e17c206 100644 --- a/include/asm-mips/mach-au1x00/au1000.h +++ b/include/asm-mips/mach-au1x00/au1000.h @@ -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 */