[U-Boot] [PATCH 00/71] serial: Massive rework of the serial subsystem

Tom Rini trini at ti.com
Tue Sep 18 00:52:22 CEST 2012


On Mon, Sep 17, 2012 at 01:20:25AM +0200, Marek Vasut wrote:

> This patchset is a STAGE 1 of preparation of the stdio and serial subsys
> for the driver model.
[snip]
> 6) Remove unused code used for the non-multi operation
>    Remove code that was used when CONFIG_SERIAL_MULTI was not selected.
>    Also remove all occurances of CONFIG_SERIAL_MULTI throughout the source
>    tree. Some parts of the code must have been adjusted to cope with this
>    since they were initially only written for non-multi operation. These
>    were minor adjustments mostly in macros though.

So we've simplified the code in that now we only have one way of talking
with the serial ports.  And the drivers are a bit more uniform as well.
Making the difference between drivers be "here is how you poke the
hardware" rather than "here is how I implemented a serial driver and oh,
here is how you poke the hardware" is good.  But what's the next step?
Have you any thoughts on trying to be clever and in the case of only one
port anyways getting the size back?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120917/20149e37/attachment.pgp>


More information about the U-Boot mailing list