[U-Boot] [PATCH] serial: pl01x: drain PL01x FIFO before baudrate change
Wolfgang Denk
wd at denx.de
Sat Oct 22 00:42:15 CEST 2011
Dear Linus Walleij,
In message <1317592372-32283-1-git-send-email-linus.walleij at linaro.org> you wrote:
> Not draining the FIFO and waiting for the UART to be non-busy
> before changing baudrate results in crap characters on the
> console, so let's wait for the FIFO to drain and the last
> character to be clocked out before we do that.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> drivers/serial/serial_pl01x.c | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
Applied, thanks.
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
"Evil does seek to maintain power by suppressing the truth."
"Or by misleading the innocent."
-- Spock and McCoy, "And The Children Shall Lead",
stardate 5029.5.
More information about the U-Boot
mailing list