From: Wolfgang Denk Date: Sun, 08 Aug 2010 00:22:01 +0200 Subject: [U-Boot] [PATCH V2 2/2] ARMV7: Fixed baudrate setting in pl01x driver In-Reply-To: <1280373167-20890-3-git-send-email-matt.waddel@linaro.org> References: <1280373167-20890-1-git-send-email-matt.waddel@linaro.org> <1280373167-20890-3-git-send-email-matt.waddel@linaro.org> Message-ID: <20100807222201.694BC1536EF@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 matt.waddel at linaro.org, In message <1280373167-20890-3-git-send-email-matt.waddel@linaro.org> you wrote: > From: Matt Waddel > > The pl01x serial driver was lacking the code to switch baudrates from the > command line. Fixed by simply saving the new baudrate and calling > serial_init() again. > > Signed-off-by: Matt Waddel ... > static void pl01x_putc (int portnum, char c); > static int pl01x_getc (int portnum); > static int pl01x_tstc (int portnum); > +unsigned int baudRate = CONFIG_BAUDRATE; We don't allow CamelCase identifiers. 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 This was an amazing creation using small squares of compressed vegetable matter on which letters were made by means of small carbon particles from a stylus, giving an effect similar to the traditional word-processor screen. It seemed amazingly portable and I never once saw him have to change the batteries. - Terry Pratchett & Stephen Briggs, _The Discworld Companion_