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

2021-01-16 Thread Tom Rini
On Fri, Dec 18, 2020 at 12:46:45PM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Add helper functions to access to gd->console_out and gd->console_in > with membuff API and replace the #ifdef CONFIG_CONSOLE_RECORD test > by if (IS_ENABLED(CONFIG_CONSOLE_RECORD)) to respect the U-Bo

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

2021-01-04 Thread Patrick DELAUNAY
On 12/19/20 4:34 AM, Simon Glass wrote: On Fri, 18 Dec 2020 at 04:46, Patrick Delaunay wrote: From: Patrick Delaunay Add helper functions to access to gd->console_out and gd->console_in I don't see those in this patch These helper function are console_record_putc() / _puts()  / _getc() /

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

2020-12-18 Thread Simon Glass
On Fri, 18 Dec 2020 at 04:46, Patrick Delaunay wrote: > > From: Patrick Delaunay > > 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_RECOR

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

2020-12-18 Thread Patrick Delaunay
From: Patrick Delaunay Add helper functions to access to gd->console_out and gd->console_in 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 Signed-off-by: Patrick Dela