Re: [U-Boot] serial : Device tree support for multiple serial devices.

2012-02-20 Thread Simon Glass
Hi, On Mon, Jan 30, 2012 at 3:18 PM, hanumant hanuman...@gmail.com wrote: On 1/30/2012 10:35 AM, Simon Glass wrote: What I did for now was to implement a new fdt_serial.c file which defines 4 separate sets of function (each set containing putc, getc, etc.) with the device pointer built in to

Re: [U-Boot] serial : Device tree support for multiple serial devices.

2012-01-30 Thread Simon Glass
Hi, On Mon, Jan 23, 2012 at 1:01 PM, hanumant hanuman...@gmail.com wrote: Hi        The board that I am working on has multiple serial ports. I am trying to use device trees to configure board resource of these ports as well as the serial framework. So the driver doesnot know apriori the

Re: [U-Boot] serial : Device tree support for multiple serial devices.

2012-01-30 Thread hanumant
On 1/30/2012 10:35 AM, Simon Glass wrote: What I did for now was to implement a new fdt_serial.c file which defines 4 separate sets of function (each set containing putc, getc, etc.) with the device pointer built in to those functions. It's really ugly, and is what eserial does. Those functions