
19 Dec
2020
19 Dec
'20
4:34 a.m.
On Fri, 18 Dec 2020 at 04:46, Patrick Delaunay patrick.delaunay@foss.st.com wrote:
From: Patrick Delaunay patrick.delaunay@st.com
Add the helper function console_has_tstc() and replace the test #if CONFIG_IS_ENABLED(CONSOLE_MUX) to a simple 'if' test to respect the U-Boot coding rule.
No functional change.
Signed-off-by: Patrick Delaunay patrick.delaunay@st.com Signed-off-by: Patrick Delaunay patrick.delaunay@foss.st.com
Changes in v3:
- update commit message with new function name console_has_tstc
Changes in v2:
- add comment for tstcdev variable
- rename console_tstc_check to console_has_tstc
common/console.c | 37 +++++++++++++++++++++++++------------ 1 file changed, 25 insertions(+), 12 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org