]> git.ipfire.org Git - thirdparty/u-boot.git/commit
serial: pl01x: set baudrate when probing
authorYang Xiwen <forbidden405@outlook.com>
Wed, 28 Feb 2024 10:57:52 +0000 (18:57 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 7 Mar 2024 12:59:16 +0000 (07:59 -0500)
commit91febe80c9f2434170c6c2e866942c75372aed75
treebc3c0bd56461c0039f3b4b6bccb30731483e1452
parentbe2eb3ad8fa748d075e28328ab454f702d10bc4f
serial: pl01x: set baudrate when probing

It is found that when DM is enabled, only generic init function is
called in .probe(). Baudrate is never honored. Add a function call
to .setbrg() when probing so that we can update the baudrate of the
serial device.

Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
drivers/serial/serial_pl01x.c