Skip to content
Snippets Groups Projects
Commit a3e77fa5 authored by James Yang's avatar James Yang Committed by Andrew Fleming-AFLEMING
Browse files

85xx: Speed up get_ddr_freq() and get_bus_freq()


get_ddr_freq() and get_bus_freq() used get_sys_info() each time they were
called.  However, get_sys_info() recalculates extraneous information when
called each time.  Have get_ddr_freq() and get_bus_freq() return memoized
values from global_data instead.

Signed-off-by: default avatarJames Yang <James.Yang@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent e9ea6799
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment