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

2021-01-16 Thread Tom Rini
On Fri, Dec 18, 2020 at 12:46:44PM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > 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. > > Sig

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

2020-12-18 Thread Patrick Delaunay
From: Patrick Delaunay 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 Reviewed-by: Simon Glass Signed-off-by: Patrick Delaun