From: Wolfgang Denk Date: Sun, 19 Aug 2007 22:39:13 +0200 Subject: [U-Boot-Users] at91rm9200 serial frequency fix In-Reply-To: Your message of "Sun, 19 Aug 2007 18:35:47 +0200." <20070819163547.GA21765@gandalf.sssup.it> Message-ID: <20070819203913.DEFAF24043@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 In message <20070819163547.GA21765@gandalf.sssup.it> you wrote: > Fix CD calcutation on serial device. > > Signed-off-by: Trimarchi Michael > --- > > --- cpu/arm920t/at91rm9200/serial.c.orig 2007-08-19 19:26:23.000000000 +0200 > +++ cpu/arm920t/at91rm9200/serial.c 2007-08-19 19:29:50.000000000 +0200 > @@ -50,14 +50,18 @@ AT91PS_USART us = (AT91PS_USART) AT91C_B > AT91PS_USART us = (AT91PS_USART) AT91C_BASE_US1; > #endif > > +#define BAUDRATE(mck, baud) \ ^^^^^^^^ > + us->US_BRGR = BOUDRATE(AT91C_MASTER_CLOCK, (unsigned)baudrate); ^^^^^^^^ Spelling... 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 Hi there! This is just a note from me, to you, to tell you, the per- son reading this note, that I can't think up any more famous quotes, jokes, nor bizarre stories, so you may as well go home.