Re: [PATCH v2 5/6] serial: Call flush() before changing baudrate

2022-08-12 Thread Pali Rohár
On Thursday 11 August 2022 18:08:45 Simon Glass wrote: > Hi Pali, > > On Thu, 11 Aug 2022 at 08:51, Pali Rohár wrote: > > > > On Thursday 11 August 2022 08:47:53 Simon Glass wrote: > > > On Thu, 11 Aug 2022 at 06:39, Pali Rohár wrote: > > > > > > > > Changing baudrate is sensitive operation. To

Re: [PATCH v2 5/6] serial: Call flush() before changing baudrate

2022-08-11 Thread Simon Glass
Hi Pali, On Thu, 11 Aug 2022 at 08:51, Pali Rohár wrote: > > On Thursday 11 August 2022 08:47:53 Simon Glass wrote: > > On Thu, 11 Aug 2022 at 06:39, Pali Rohár wrote: > > > > > > Changing baudrate is sensitive operation. To ensure that U-Boot messages > > > > is a sensitive > > > > > printed be

Re: [PATCH v2 5/6] serial: Call flush() before changing baudrate

2022-08-11 Thread Pali Rohár
On Thursday 11 August 2022 08:47:53 Simon Glass wrote: > On Thu, 11 Aug 2022 at 06:39, Pali Rohár wrote: > > > > Changing baudrate is sensitive operation. To ensure that U-Boot messages > > is a sensitive > > > printed before changing baudrate are not lost, call new U-Boot console > > flush() fu

Re: [PATCH v2 5/6] serial: Call flush() before changing baudrate

2022-08-11 Thread Simon Glass
On Thu, 11 Aug 2022 at 06:39, Pali Rohár wrote: > > Changing baudrate is sensitive operation. To ensure that U-Boot messages is a sensitive > printed before changing baudrate are not lost, call new U-Boot console > flush() function. > > Signed-off-by: Pali Rohár > --- > cmd/load.c

[PATCH v2 5/6] serial: Call flush() before changing baudrate

2022-08-11 Thread Pali Rohár
Changing baudrate is sensitive operation. To ensure that U-Boot messages printed before changing baudrate are not lost, call new U-Boot console flush() function. Signed-off-by: Pali Rohár --- cmd/load.c | 5 + drivers/serial/serial-uclass.c | 1 + drivers/serial/serial.c