[U-Boot] [PATCH v2 15/41] common: Move serial_printf() to the serial header

Tom Rini trini at konsulko.com
Mon Nov 11 14:20:14 UTC 2019


On Fri, Nov 08, 2019 at 12:53:22PM -0700, Simon Glass wrote:

> Move this function header to serial.h since this function is clearly
> related to serial. The function itself stays in console.c since we don't
> have a single serial file. DM and non-DM each has a separate file so we
> would have to either create a new common serial file, or repeat the
> function in both serial.c and serial-uclass.c, neither of which seem
> worthwhile.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191111/978e4739/attachment.sig>


More information about the U-Boot mailing list