From: Wolfgang Denk Date: Wed, 11 Feb 2009 23:18:28 +0100 Subject: [U-Boot] 8xx serial, smc: add configurable SMC Rx buffer len In-Reply-To: <49913B73.2070502@denx.de> References: <49913B73.2070502@denx.de> Message-ID: <20090211221828.36B44832E893@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Heiko Schocher, In message <49913B73.2070502@denx.de> you wrote: > This patch adds the configuration option CONFIG_SYS_SMC_RXBUFLEN. > With this option it is possible to allow the receive > buffer for the SMC on 8xx to be greater then 1. In case > CONFIG_SYS_SMC_RXBUFLEN == 1 this driver works as the > old version. > > When defining CONFIG_SYS_SMC_RXBUFLEN also > CONFIG_SYS_MAXIDLE must be defined to setup the maximum > idle timeout for the SMC. > > Signed-off-by: Heiko Schocher > --- > README | 2 +- > cpu/mpc8xx/serial.c | 94 +++++++++++++++++++++++++++++++-------------------- > 2 files changed, 58 insertions(+), 38 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Science makes godlike -- it is all over with priests and gods when man becomes scientific. Moral: science is the forbidden as such -- it alone is forbidden. Science is the *first* sin, the *original* sin. *This alone is morality.* ``Thou shalt not know'' -- the rest follows." - Friedrich Nietzsche