This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: PPC40x serial_init fix
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Markus Schade <marks at peppercon dot de>
- Cc: ecos-patches at sourceware dot org
- Date: Fri, 02 Sep 2005 08:47:22 -0600
- Subject: Re: PPC40x serial_init fix
- Organization: MLB Associates
- References: <200509021634.00444.marks@peppercon.de>
On Fri, 2005-09-02 at 16:34 +0200, Markus Schade wrote:
> serial initialization failed to set UART Divisor in DCR register
> when calculation baud clock.
> added calculation for PPC405EP
What is this "CFG_BASE_BAUD" all about? How can you know that
value is correct for all platforms? The code I wrote uses the
actual settings in the CPU to calculate these and should work
for any platform. If it does not, let's fix it, but correctly.
Have you tried your changes on anything but a 405EP?
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------