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

Simon Glass sjg at chromium.org
Tue Feb 21 07:41:57 CET 2012


Hi,

On Mon, Jan 30, 2012 at 3:18 PM, hanumant <hanumant07 at 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 those functions. It's really
>> ugly, and is what eserial does. Those functions look up the device
>> tree during init and redirect to the real serial driver's functions of
>> the same name.
>>
>> I could probably rustle up a patch if it would help.
>
>
> Thank you a patch would help a great deal.

Maybe too late to be useful, but I have finally got to this, and sent
a patch to the list.

>
> Thanks
> hanumant

Regards,
Simon


More information about the U-Boot mailing list