[U-Boot] [PATCH v2 1/2] efi_loader: Fix serial console size detection

2019-03-05 Thread matthias . bgg
From: Matthias Brugger Function term_read_reply tries to read from the serial console until the end_char was read. This can hang forever if we are, for some reason, not be able to read the full response (e.g. serial buffer too small, frame error). This patch moves the timeout detection into term_

Re: [U-Boot] [PATCH v2 1/2] efi_loader: Fix serial console size detection

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 12:50 PM, matthias@kernel.org wrote: > From: Matthias Brugger > > Function term_read_reply tries to read from the serial console until > the end_char was read. This can hang forever if we are, for some reason, > not be able to read the full response (e.g. serial buffer too small, >

Re: [U-Boot] [PATCH v2 1/2] efi_loader: Fix serial console size detection

2019-03-05 Thread Heinrich Schuchardt
On 3/5/19 12:50 PM, matthias@kernel.org wrote: > From: Matthias Brugger > > Function term_read_reply tries to read from the serial console until > the end_char was read. This can hang forever if we are, for some reason, > not be able to read the full response (e.g. serial buffer too small, >