]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: Move serial_printf() to the serial header
authorSimon Glass <sjg@chromium.org>
Thu, 14 Nov 2019 19:57:23 +0000 (12:57 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 2 Dec 2019 23:23:10 +0000 (18:23 -0500)
commitf516fd99ec59d964836906c8ac370f246d60c14d
treea3247c000d7a32a3869d914393b5b99139d2cc95
parent2310c8ede3341757ca78885c25262a30e520a3ff
common: Move serial_printf() to the serial header

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@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
drivers/usb/gadget/core.c
drivers/usb/gadget/designware_udc.c
drivers/usb/gadget/ep0.c
drivers/usb/musb-new/omap2430.c
drivers/usb/musb/musb_udc.c
drivers/usb/musb/omap3.c
include/common.h
include/serial.h