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

Thomas Chou thomas at wytron.com.tw
Sat Nov 21 03:39:54 CET 2015


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.

Best regards,
Thomas


More information about the U-Boot mailing list