summaryrefslogtreecommitdiff
path: root/examples/82559_eeprom.c
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 /examples/82559_eeprom.c
parent1ced121600b2060ab2ff9f0fddd9421fd70a0dc6 (diff)
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 'examples/82559_eeprom.c')
0 files changed, 0 insertions, 0 deletions