ARMV7: Fixed baudrate setting in pl01x driver
authorMatt Waddel <matt.waddel@linaro.org>
Thu, 7 Oct 2010 21:48:46 +0000 (15:48 -0600)
committerWolfgang Denk <wd@denx.de>
Wed, 13 Oct 2010 07:59:43 +0000 (09:59 +0200)
commit249d5219c4cf0a6ec423deb6e0eb8a77b3a405fa
tree238d06081cee0deb78c5f2237a07294928ed430a
parentb80e41ac54690e50dbcb0e9f19ebb1f3c8076983
ARMV7: Fixed baudrate setting in pl01x driver

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.  Also fixed CamelCase variables, I/O accessors and
comment style.

Signed-off-by: Matt Waddel <matt.waddel@linaro.org>
drivers/serial/serial_pl01x.c