* [PATCH] Make KGDB compile for AMD Au1200
@ 2006-01-06 16:34 Sergei Shtylylov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylylov @ 2006-01-06 16:34 UTC (permalink / raw)
To: linux-mips; +Cc: Manish Lachwani, Jordan Crouse, ralf
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
Hello.
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
[-- Attachment #2: DBAu1200-fix-KGDB-UART.patch --]
[-- Type: text/plain, Size: 558 bytes --]
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 */
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] Make KGDB compile for AMD Au1200
@ 2006-01-26 1:36 Sergei Shtylylov
0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylylov @ 2006-01-26 1:36 UTC (permalink / raw)
To: linux-mips; +Cc: Jordan Crouse, ralf
[-- Attachment #1: Type: text/plain, Size: 297 bytes --]
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>
[-- Attachment #2: DBAu1200-fix-KGDB-UART.patch --]
[-- Type: text/plain, Size: 559 bytes --]
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 */
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-26 1:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-06 16:34 [PATCH] Make KGDB compile for AMD Au1200 Sergei Shtylylov
-- strict thread matches above, loose matches on Subject: below --
2006-01-26 1:36 Sergei Shtylylov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox