[PATCH v3 3/4] console: remove #ifdef CONFIG_CONSOLE_RECORD

Simon Glass sjg at chromium.org
Sat Dec 19 04:34:54 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>
>
> Add helper functions to access to gd->console_out and gd->console_in

I don't see those in this patch

> with membuff API and replace the #ifdef CONFIG_CONSOLE_RECORD test
> by if (IS_ENABLED(CONFIG_CONSOLE_RECORD)) to respect the U-Boot
> coding rule.
>
> 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:
> - move the tests on gd->flags & GD_FLG_RECORD in helper functions
> - remove test on IS_ENABLED(CONFIG_CONSOLE_RECORD)
>   before to call helper functions
>
>  common/console.c | 95 +++++++++++++++++++++++++++++++++++++-----------
>  1 file changed, 73 insertions(+), 22 deletions(-)
>

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


More information about the U-Boot mailing list