From mboxrd@z Thu Jan 1 00:00:00 1970 From: hanumant Date: Mon, 30 Jan 2012 15:18:24 -0800 Subject: [U-Boot] serial : Device tree support for multiple serial devices. In-Reply-To: References: <4F1DCAA4.5060602@gmail.com> Message-ID: <4F272540.4090603@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Thanks hanumant