[PATCH v3 1/4] console: remove #ifdef CONFIG when it is possible
Simon Glass
sjg at chromium.org
Sat Dec 19 04:34:52 CET 2020
On Fri, 18 Dec 2020 at 04:46, Patrick Delaunay
<patrick.delaunay at foss.st.com> wrote:
>
> From: Patrick Delaunay <patrick.delaunay at 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 at st.com>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at 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 at chromium.org>
More information about the U-Boot
mailing list