diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2018-08-03 13:38:44 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-09-10 20:20:34 -0400 |
commit | 273a12526c6b6278a79f1bdf7f6cc50a32938b28 (patch) | |
tree | 7022cfe0891775052cb8261a832ab5baf688418b /board/grinn/chiliboard | |
parent | d3bb7858545fa54ff3c591570f1d36234ecde2bf (diff) |
console: unify fgetc function when console MUX is deactivated
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.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/grinn/chiliboard')
0 files changed, 0 insertions, 0 deletions