]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: Set baudrate on boot
authorSean Anderson <seanga2@gmail.com>
Sun, 2 Feb 2020 18:15:17 +0000 (13:15 -0500)
committerSimon Glass <sjg@chromium.org>
Thu, 16 Apr 2020 14:07:57 +0000 (08:07 -0600)
commitb41d4b83f0203be79a3bfa1e4bde316355c7f2a0
tree98a60724a081f53f02770f5460193cc44e8ff7aa
parent66b8669d7709cecedf2e0403bb17b48bab86f644
serial: Set baudrate on boot

Currently, the baud rate is never set on boot. This works ok when a previous
bootloader has configured the baudrate properly, or when the baudrate is set to
a reasonable default in the serial driver's probe(). However, when this is not
the case, we could be using a different baud rate than what was configured.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
drivers/serial/serial-uclass.c