public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Need to call kgdb8250_add_platform_port in omap_serial_init()?
@ 2007-10-11 17:56 Drew Moseley
  2007-10-12 20:31 ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Moseley @ 2007-10-11 17:56 UTC (permalink / raw)
  To: linux-omap-open-source


The patch below calls kgdb8250_add_platform_port() from omap_serial_init().
This is copied from mach-omap/serial.c.  Without this patch kgdbwait
will fail.

Comments?

Drew



Index: linux/arch/arm/mach-omap2/serial.c
===================================================================
--- linux.orig/arch/arm/mach-omap2/serial.c
+++ linux/arch/arm/mach-omap2/serial.c
@@ -162,6 +162,9 @@ void __init omap_serial_init()
 		}

 		omap_serial_reset(p);
+#ifdef CONFIG_KGDB_8250
+		kgdb8250_add_platform_port(i, &serial_platform_data[i]);
+#endif
 	}
 }


-- 
mailto:dmoseley@mvista.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-12 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-11 17:56 Need to call kgdb8250_add_platform_port in omap_serial_init()? Drew Moseley
2007-10-12 20:31 ` Tony Lindgren
2007-10-12 20:58   ` Drew Moseley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox