Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-31 Thread Tom Rini
On Wed, Aug 31, 2022 at 07:46:58AM -0600, Simon Glass wrote: > Hi Pali, > > On Wed, 31 Aug 2022 at 03:13, Pali Rohár wrote: > > > > On Thursday 25 August 2022 09:08:18 Simon Glass wrote: > > > Hi Pali, > > > > > > On Thu, 25 Aug 2022 at 08:20, Pali Rohár wrote: > > > > > > > > On Friday 12 Augus

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-31 Thread Simon Glass
Hi Pali, On Wed, 31 Aug 2022 at 03:13, Pali Rohár wrote: > > On Thursday 25 August 2022 09:08:18 Simon Glass wrote: > > Hi Pali, > > > > On Thu, 25 Aug 2022 at 08:20, Pali Rohár wrote: > > > > > > On Friday 12 August 2022 20:21:00 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Fri, 12 Au

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-31 Thread Pali Rohár
On Thursday 25 August 2022 09:08:18 Simon Glass wrote: > Hi Pali, > > On Thu, 25 Aug 2022 at 08:20, Pali Rohár wrote: > > > > On Friday 12 August 2022 20:21:00 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote: > > > > > > > > On Friday 12 August 2022 0

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-25 Thread Simon Glass
Hi Pali, On Thu, 25 Aug 2022 at 08:20, Pali Rohár wrote: > > On Friday 12 August 2022 20:21:00 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote: > > > > > > On Friday 12 August 2022 09:11:10 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Fri, 12 Aug

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-25 Thread Pali Rohár
On Friday 12 August 2022 20:21:00 Simon Glass wrote: > Hi Pali, > > On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote: > > > > On Friday 12 August 2022 09:11:10 Simon Glass wrote: > > > Hi Pali, > > > > > > On Fri, 12 Aug 2022 at 03:01, Pali Rohár wrote: > > > > > > > > On Thursday 11 August 2022 1

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-12 Thread Simon Glass
Hi Pali, On Fri, 12 Aug 2022 at 09:17, Pali Rohár wrote: > > On Friday 12 August 2022 09:11:10 Simon Glass wrote: > > Hi Pali, > > > > On Fri, 12 Aug 2022 at 03:01, Pali Rohár wrote: > > > > > > On Thursday 11 August 2022 18:08:46 Simon Glass wrote: > > > > Hi Pali, > > > > > > > > On Thu, 11 Au

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-12 Thread Pali Rohár
On Friday 12 August 2022 09:11:10 Simon Glass wrote: > Hi Pali, > > On Fri, 12 Aug 2022 at 03:01, Pali Rohár wrote: > > > > On Thursday 11 August 2022 18:08:46 Simon Glass wrote: > > > Hi Pali, > > > > > > On Thu, 11 Aug 2022 at 08:50, Pali Rohár wrote: > > > > > > > > On Thursday 11 August 2022

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-12 Thread Simon Glass
Hi Pali, On Fri, 12 Aug 2022 at 03:01, Pali Rohár wrote: > > On Thursday 11 August 2022 18:08:46 Simon Glass wrote: > > Hi Pali, > > > > On Thu, 11 Aug 2022 at 08:50, Pali Rohár wrote: > > > > > > On Thursday 11 August 2022 08:47:50 Simon Glass wrote: > > > > > diff --git a/include/stdio_dev.h b

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-12 Thread Pali Rohár
On Thursday 11 August 2022 18:08:46 Simon Glass wrote: > Hi Pali, > > On Thu, 11 Aug 2022 at 08:50, Pali Rohár wrote: > > > > On Thursday 11 August 2022 08:47:50 Simon Glass wrote: > > > > diff --git a/include/stdio_dev.h b/include/stdio_dev.h > > > > index 270fa2729fb2..06278366ae88 100644 > > >

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-11 Thread Simon Glass
Hi Pali, On Thu, 11 Aug 2022 at 08:50, Pali Rohár wrote: > > On Thursday 11 August 2022 08:47:50 Simon Glass wrote: > > > diff --git a/include/stdio_dev.h b/include/stdio_dev.h > > > index 270fa2729fb2..06278366ae88 100644 > > > --- a/include/stdio_dev.h > > > +++ b/include/stdio_dev.h > > > @@ -

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-11 Thread Pali Rohár
On Thursday 11 August 2022 08:47:50 Simon Glass wrote: > > diff --git a/include/stdio_dev.h b/include/stdio_dev.h > > index 270fa2729fb2..06278366ae88 100644 > > --- a/include/stdio_dev.h > > +++ b/include/stdio_dev.h > > @@ -37,6 +37,10 @@ struct stdio_dev { > > void (*putc)(struct stdio_d

Re: [PATCH v2 2/6] console: Implement flush() function

2022-08-11 Thread Simon Glass
Hi Pali, On Thu, 11 Aug 2022 at 06:39, Pali Rohár wrote: > > On certain places it is required to flush output print buffers to ensure > that text strings were sent to console or serial devices. For example when > printing message that U-Boot is going to boot kernel or when U-Boot is > going to ch

[PATCH v2 2/6] console: Implement flush() function

2022-08-11 Thread Pali Rohár
On certain places it is required to flush output print buffers to ensure that text strings were sent to console or serial devices. For example when printing message that U-Boot is going to boot kernel or when U-Boot is going to change baudrate of terminal device. Therefore introduce a new flush()