[PATCH] serial: ns16550: Try get serial clock rate from DT before CLK

Tom Rini trini at konsulko.com
Tue Oct 8 15:44:25 CEST 2024


On Sun, 04 Aug 2024 15:09:52 +0000, Jonas Karlman wrote:

> Initializing a clock driver to read a known static clock rate can take
> some time at U-Boot proper pre-reloc phase.
> 
> Change to first try and read clock rate from DT to speed up boot time,
> fall back to getting the clock rate from clock driver.
> 
> This help reduce boot time by around:
> - ~35ms on a Radxa ROCK Pi 4 (RK3399)
> - ~15ms on a Radxa ZERO 3W (RK3566)
> Time that is wasted getting a static rate known at compile time.
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom




More information about the U-Boot mailing list