[PATCH v3 2/4] console: add function console_devices_set

Tom Rini trini at konsulko.com
Sat Jan 16 17:24:21 CET 2021


On Fri, Dec 18, 2020 at 12:46:44PM +0100, Patrick Delaunay wrote:

> From: Patrick Delaunay <patrick.delaunay at st.com>
> 
> Add a new function to access to console_devices only defined if
> CONFIG_IS_ENABLED(CONSOLE_MUX).
> 
> This path allows to remove #if CONFIG_IS_ENABLED(CONSOLE_MUX)
> in console_getc function.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210116/9409db9f/attachment.sig>


More information about the U-Boot mailing list