commit | 7c5f6edafe444d725c539737877485eb22cb459e | [log] [tgz] |
---|---|---|
author | Patrick Delaunay <patrick.delaunay@st.com> | Fri Dec 18 12:46:44 2020 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Jan 15 14:36:12 2021 -0500 |
tree | 162af5d4acaaf10f50ff0825ada0cd9eaf3440a9 | |
parent | 4b0b56f37815d6331bf1789adbbec180e10fde59 [diff] |
console: add function console_devices_set 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> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>