console: remove #ifdef CONFIG when it is possible
authorPatrick Delaunay <patrick.delaunay@st.com>
Fri, 18 Dec 2020 11:46:43 +0000 (12:46 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 15 Jan 2021 19:36:12 +0000 (14:36 -0500)
commitc04f856822aab04c3ccb05d741e83ce3b84913fd
tree07d815d24e02a08099f8e6589fa60f85c3b3a832
parent13e0f020f7710418c4f8ed231660f91cdd979254
console: remove #ifdef CONFIG when it is possible

Remove #ifdef or #ifndef for CONFIG when it is possible to simplify
the console.c code and respect the U-Boot coding rules.

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/console.c