Home
last modified time | relevance | path

Searched hist:d77447fdb122dab290fb1ad184a62456011e6e06 (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/serial/
H A Dserial_pl01x.cdiff d77447fdb122dab290fb1ad184a62456011e6e06 Tue Apr 21 08:10:06 CDT 2015 Linus Walleij <linus.walleij@linaro.org> serial: pl01x: fix PL010 regression

commit aed2fbef5e9a0ab5a7cd01e742039a962f0b24ef
"dm: serial: Tidy up the pl01x driver"
caused a regression on (real hardware) PL010 by omitting
to update the line control register when switching baudrate.

Fix this by inlining the missing write to the baud control
register.

Also renaming the set_line_control() function to
pl011_set_line_control() since this function is clearly
PL011-specific, and it won't suffice to call that to
set up line control.

Tested on the Integrator/AP hardware.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>