* 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
* Re: Need to call kgdb8250_add_platform_port in omap_serial_init()?
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
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2007-10-12 20:31 UTC (permalink / raw)
To: Drew Moseley; +Cc: linux-omap-open-source
Hi,
* Drew Moseley <dmoseley@mvista.com> [071011 10:57]:
>
> 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?
Makes sense, but I can't find any references in linux-omap for
kgdb8250_add_platform_port... I guess that's in some other tree?
Regards,
Tony
> 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
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Need to call kgdb8250_add_platform_port in omap_serial_init()?
2007-10-12 20:31 ` Tony Lindgren
@ 2007-10-12 20:58 ` Drew Moseley
0 siblings, 0 replies; 3+ messages in thread
From: Drew Moseley @ 2007-10-12 20:58 UTC (permalink / raw)
To: Tony Lindgren; +Cc: linux-omap-open-source
Tony Lindgren wrote:
> Hi,
>
> * Drew Moseley <dmoseley@mvista.com> [071011 10:57]:
>> 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?
>
> Makes sense, but I can't find any references in linux-omap for
> kgdb8250_add_platform_port... I guess that's in some other tree?
>
> Regards,
>
> Tony
>
Indeed. Sorry about that. Resubmitted to the kgdb bugreport list.
Drew
^ 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