summaryrefslogtreecommitdiff
path: root/include/mpc85xx.h
diff options
context:
space:
mode:
authorJames Yang <James.Yang@freescale.com>2008-02-08 16:44:53 -0600
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-03-26 11:43:04 -0500
commit591933ca6eabc440e6ed6967233aaf56fce464a3 (patch)
treed62e9b345930064e26fde5485c2cafb688445f26 /include/mpc85xx.h
parent1ced121600b2060ab2ff9f0fddd9421fd70a0dc6 (diff)
downloadu-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/mpc85xx.h')
0 files changed, 0 insertions, 0 deletions