[U-Boot] [PATCH v3 05/13] ns16550: unify serial_ppc

Tom Rini trini at konsulko.com
Sat Nov 21 16:22:29 CET 2015


On Sat, Nov 21, 2015 at 10:39:54AM +0800, Thomas Chou wrote:
> Hi Simon,
> 
> On 2015年11月21日 08:27, Simon Glass wrote:
> >>I moved it to a macro.
> >>#define CONFIG_SYS_NS16550_CLK         get_serial_clock()
> >
> >Ah, we shouldn't do that with driver model. This should be in some
> >sort of clock driver. Perhaps we should leave this serial driver along
> >for now?
> 
> I understand a clock driver should be used for driver model. But I
> would suggest that we use this get_serial_clock macro until the
> clock driver for powerpc is ready to get UART clock. This will help
> things moving forwards to driver model.

Yes, how do you want to proceed here Simon?  I have all of these (and a
few other things) build-tested now and will be doing some quick sanity
run time testing later.  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151121/d738a446/attachment.sig>


More information about the U-Boot mailing list