From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 11 Sep 2018 08:24:35 -0400 Subject: [U-Boot] [U-Boot, 3/4] console: unify fgetc function when console MUX is deactivated In-Reply-To: <1533296325-2490-4-git-send-email-patrick.delaunay@st.com> References: <1533296325-2490-4-git-send-email-patrick.delaunay@st.com> Message-ID: <20180911122435.GU4980@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Aug 03, 2018 at 01:38:44PM +0200, Patrick Delaunay 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 > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: