[U-Boot] [PATCH 3/7] dm: serial: consolidate common code

Simon Glass sjg at chromium.org
Thu Oct 23 05:26:35 CEST 2014


Hi Masahiro,

On 22 October 2014 03:13, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> Before the console is available, the functions serial_*()
> are used, while serial_stub_*() are called after the console
> is ready.
>
> Functions in those two groups are almost the same except
> how udevice is passed; serial_*() pass "cur_dev" whereas
> serial_stub_*() pass sdev->priv.
>
> This commit merges the duplicated code; common lines are put into
> _serlal_*().
>
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>

Can you please take a look at dm/master and rebase?

Regards,
Simon


More information about the U-Boot mailing list