From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 15 Oct 2011 19:55:16 +0200 Subject: [U-Boot] [PATCH v3] NS16550: buffer reads In-Reply-To: <1318694632-21872-1-git-send-email-sjg@chromium.org> References: <1318694632-21872-1-git-send-email-sjg@chromium.org> Message-ID: <201110151955.16625.marek.vasut@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday, October 15, 2011 06:03:52 PM Simon Glass wrote: > From: Scott Wood > > From: Scott Wood > > This improves the performance of U-Boot when accepting rapid input, > such as pasting a sequence of commands. Hi Simon, [...] > diff --git a/include/ns16550.h b/include/ns16550.h > index 51f1c17..60b0abc 100644 > --- a/include/ns16550.h > +++ b/include/ns16550.h > @@ -164,6 +164,6 @@ typedef volatile struct NS16550 *NS16550_t; > > void NS16550_init (NS16550_t com_port, int baud_divisor); > void NS16550_putc (NS16550_t com_port, char c); > -char NS16550_getc (NS16550_t com_port); > -int NS16550_tstc (NS16550_t com_port); > +char NS16550_getc(NS16550_t regs, unsigned int port); > +int NS16550_tstc(NS16550_t regs, unsigned int port); > void NS16550_reinit (NS16550_t com_port, int baud_divisor); Maybe you should fix the indent altogether ? Cheers