
12 Dec
2020
12 Dec
'20
4:39 p.m.
On Thu, 3 Dec 2020 at 02:20, Patrick Delaunay patrick.delaunay@st.com wrote:
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@st.com
common/console.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org