summaryrefslogtreecommitdiff
path: root/common/env_embedded.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-04-21 15:10:06 +0200
committerTom Rini <trini@konsulko.com>2015-04-21 10:05:42 -0400
commitd77447fdb122dab290fb1ad184a62456011e6e06 (patch)
treef079256738d04c644ba3f3189d3e66b809b319d4 /common/env_embedded.c
parenta436d61279ba4da66fce8cd2e4f520199436d5c8 (diff)
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>
Diffstat (limited to 'common/env_embedded.c')
0 files changed, 0 insertions, 0 deletions