On 3 August 2018 at 05:38, Patrick Delaunay <patrick.delau...@st.com> wrote:
> Unify the fgetc function when MUX is activated or not:
> - always call tstc() : it is the normal behavior expected
>   by serial uclass (call tstc then getc) and that avoids
>   issue when SERIAL_RX_BUFFER is activated
> - reload WATCHDOG in the char waiting loop
>
> This patch allow to have the same behavior when CONSOLE_MUX is activated
> or not and avoid regression when this feature is deactivated.
>
> Signed-off-by: Patrick Delaunay <patrick.delau...@st.com>
> ---
>
>  common/console.c | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>

I'm not sure how to test this with the various cases...
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to