| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] Make KGDB compile for AMD Au1200 |
| From: | Sergei Shtylylov <sshtylyov@ru.mvista.com> |
| Date: | Thu, 26 Jan 2006 04:36:25 +0300 |
| Cc: | Jordan Crouse <jordan.crouse@amd.com>, ralf@linux-mips.org |
| Organization: | MostaVista Software Inc. |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; rv:1.7.2) Gecko/20040803 |
Hello.
Reposting the patch with sign-off...
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. Note that I haven't really
tested KGDB itself...
WBR, Sergei
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h index 8e1d7ed..4686e17 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 */ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] mips: gdb-stub.c: fix parse error before ; token, Sergei Shtylylov |
|---|---|
| Next by Date: | Re: [PATCH 4/6] use include/asm-generic/bitops for each architecture, Akinobu Mita |
| Previous by Thread: | [PATCH] Make KGDB compile for AMD Au1200, Sergei Shtylylov |
| Next by Thread: | [PATCH] Make KGDB compile again, Sergei Shtylylov |
| Indexes: | [Date] [Thread] [Top] [All Lists] |