Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-10-14 Thread Simon Glass
Hi Kumar, On Wed, Oct 12, 2011 at 6:08 PM, Kumar Gala wrote: > > On Oct 12, 2011, at 4:23 PM, Simon Glass wrote: > >> Hi Scott, >> >> On Fri, May 6, 2011 at 1:28 PM, Scott Wood wrote: >>> On Wed, 4 May 2011 16:30:00 -0700 >>> Simon Glass wrote: >>> Hi Scott, This is a very useful

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-10-12 Thread Kumar Gala
On Oct 12, 2011, at 4:23 PM, Simon Glass wrote: > Hi Scott, > > On Fri, May 6, 2011 at 1:28 PM, Scott Wood wrote: >> On Wed, 4 May 2011 16:30:00 -0700 >> Simon Glass wrote: >> >>> Hi Scott, >>> >>> This is a very useful patch and it works well. I have taken the liberty of >>> modifying it sl

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-10-12 Thread Simon Glass
Hi Scott, On Fri, May 6, 2011 at 1:28 PM, Scott Wood wrote: > On Wed, 4 May 2011 16:30:00 -0700 > Simon Glass wrote: > >> Hi Scott, >> >> This is a very useful patch and it works well. I have taken the liberty of >> modifying it slightly, because I think you should subtract 1 from the port >> nu

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-05-06 Thread Scott Wood
On Wed, 4 May 2011 16:30:00 -0700 Simon Glass wrote: > Hi Scott, > > This is a very useful patch and it works well. I have taken the liberty of > modifying it slightly, because I think you should subtract 1 from the port > number that you pass to NS16550. For some reason the 'COM' ports are > nu

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-05-04 Thread Simon Glass
On Wed, Apr 6, 2011 at 2:28 PM, Scott Wood wrote: > On Wed, 6 Apr 2011 22:42:12 +0200 > Wolfgang Denk wrote: > > > Dear Scott Wood, > > > > In message <20110406203012.ga30...@schlenkerla.am.freescale.net> you > wrote: > > > This improves the performance of U-Boot when accepting rapid input, > >

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-04-06 Thread Scott Wood
On Wed, 6 Apr 2011 22:42:12 +0200 Wolfgang Denk wrote: > Dear Scott Wood, > > In message <20110406203012.ga30...@schlenkerla.am.freescale.net> you wrote: > > This improves the performance of U-Boot when accepting rapid input, > > such as pasting a sequence of commands. > ... > > +static struct n

Re: [U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-04-06 Thread Wolfgang Denk
Dear Scott Wood, In message <20110406203012.ga30...@schlenkerla.am.freescale.net> you wrote: > This improves the performance of U-Boot when accepting rapid input, > such as pasting a sequence of commands. ... > +static struct ns16550_priv rxstate[NUM_PORTS]; Do we really need to statically alloca

[U-Boot] [PATCH 1/2] NS16550: buffer reads

2011-04-06 Thread Scott Wood
This improves the performance of U-Boot when accepting rapid input, such as pasting a sequence of commands. Without this patch, on P4080DS I see a maximum of around 5 mw.l lines can be pasted. With this patch, it handles around 70 lines before lossage, long enough for most things you'd paste. Si