
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
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
(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 sjg@chromium.org