dm: serial: Support changing the baud rate
authorSimon Glass <sjg@chromium.org>
Wed, 29 Oct 2014 19:09:03 +0000 (13:09 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 07:10:16 +0000 (08:10 +0100)
commitad1b81c88080580b5db8b89c5a3b29d85a7488fc
treedb0219dad2135d3d256bb233103b64e52ebd97d1
parente87e0e79edf8173fe3551eed53a3bc60aa927b0c
dm: serial: Support changing the baud rate

Implement this feature in the uclass so that the baudrate can be changed
with 'setenv baudrate <rate>'.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/serial-uclass.c