diff options
author | James Yang <James.Yang@freescale.com> | 2008-02-08 16:44:53 -0600 |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-03-26 11:43:04 -0500 |
commit | 591933ca6eabc440e6ed6967233aaf56fce464a3 (patch) | |
tree | d62e9b345930064e26fde5485c2cafb688445f26 /include/mpc8220.h | |
parent | 1ced121600b2060ab2ff9f0fddd9421fd70a0dc6 (diff) | |
download | u-boot-imx-591933ca6eabc440e6ed6967233aaf56fce464a3.zip u-boot-imx-591933ca6eabc440e6ed6967233aaf56fce464a3.tar.gz u-boot-imx-591933ca6eabc440e6ed6967233aaf56fce464a3.tar.bz2 |
85xx: get_tbclk() speed up and rounding fix
Speed up get_tbclk() by referencing pre-computed bus clock
frequency value from global data instead of sys_info_t. Fix
rounding of result to nearest; previously it was rounding
upwards.
Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/mpc8220.h')
0 files changed, 0 insertions, 0 deletions