[U-Boot] [PATCH RESEND 2/2] serial: opencores_yanu: Avoid duplicate oc_serial_setbrg() implementation

Thomas Chou thomas at wytron.com.tw
Tue Feb 11 08:57:03 CET 2014


Hi Alex,

On 02/05/2014 12:46 PM, Axel Lin wrote:
> The implementation of oc_serial_setbrg() for CONFIG_SYS_NIOS_FIXEDBAUD and
> !CONFIG_SYS_NIOS_FIXEDBAUD are very similar.
> Add a baudrate variable and set it to either CONFIG_BAUDRATE or gd->baudrate.
> Then we can unify the code for both cases.

Applied to nios branch. Thanks and sorry for late response.

Thomas Chou


More information about the U-Boot mailing list