summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2024-08-04 15:09:52 +0000
committerTom Rini <[email protected]>2024-10-07 15:10:05 -0600
commit556ea53c838e278efca5375584acef1db4998f7e (patch)
tree144ee6cb26e8d0f0be58b179186aa9b65474aaf5 /include/linux
parentf4df9f53b7a97e29afb06e466a9ebab1a201b63d (diff)
serial: ns16550: Try get serial clock rate from DT before CLK
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. Signed-off-by: Jonas Karlman <[email protected]> Reviewed-by: Quentin Schulz <[email protected]> Reviewed-by: Simon Glass <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions