On Thu, Mar 18, 2010 at 4:58 PM, Valentin Ecker <valentin.ecker....@gmail.com> wrote: > I see...I think we have a very similar setup, and I see how you init your > ports. Although I'm not sure if this is suitable for me, since editing the > ns16550-files to support/init an external COM-chip is not a really > clean/nice implementation. > > I'm not sure if there is any way to implement this in a nice way. But I will > let you know if we find something ;) > I implemented it first in board specific code. It added small code overhead due to necessity to duplicate the serial_ports array and add uart_init for ports higher then 4. Afterwards, I implemented the same in common code. Extending the original serial_ports array makes the code more generic. I also added serial loopback tests availible via CLI and POST. I am going to post this patch on u-boot-list promptly.
Michael. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot