commit | d1d51adb849e6f67eb842183b9da9918a7a9acf5 | [log] [tgz] |
---|---|---|
author | James Yang <James.Yang@freescale.com> | Fri Feb 08 18:05:08 2008 -0600 |
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | Wed Mar 26 11:43:04 2008 -0500 |
tree | 3bcc915dc6f1899b5e388793b1945c77fef3f16e | |
parent | 5dab484d59b375f7f6531c1ea1b7c755554b9658 [diff] |
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: James Yang <James.Yang@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>