[U-Boot] [PATCH V2 2/2] ARMV7: Fixed baudrate setting in pl01x driver
Wolfgang Denk
wd at denx.de
Sun Aug 8 00:22:01 CEST 2010
Dear matt.waddel at linaro.org,
In message <1280373167-20890-3-git-send-email-matt.waddel at linaro.org> you wrote:
> From: Matt Waddel <matt.waddel at linaro.org>
>
> 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 <matt.waddel at linaro.org>
...
> 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_
More information about the U-Boot
mailing list