On Fri, 18 Dec 2020 at 04:46, Patrick Delaunay <patrick.delau...@foss.st.com> wrote: > > From: Patrick Delaunay <patrick.delau...@st.com> > > 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.delau...@st.com> > Signed-off-by: Patrick Delaunay <patrick.delau...@foss.st.com> > --- > > (no changes since v2) > > Changes in v2: > - update also #ifdef CONFIG_SANDBOX after Simon Glass remark > (code can't be removed to avoid to rely sandbox on debug uart) > > common/console.c | 158 +++++++++++++++++++---------------------------- > 1 file changed, 64 insertions(+), 94 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>