[PATCH 1/4] console: remove #ifdef CONFIG when it is possible

Simon Glass sjg at chromium.org
Sat Dec 12 16:39:06 CET 2020


On Thu, 3 Dec 2020 at 02:20, Patrick Delaunay <patrick.delaunay at st.com> wrote:
>
> 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>
> ---
>
>  common/console.c | 149 +++++++++++++++++++----------------------------
>  1 file changed, 61 insertions(+), 88 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list