summaryrefslogtreecommitdiff
path: root/cpu/mcf52x2/speed.c
diff options
context:
space:
mode:
authorLarry Johnson <lrj@acm.org>2008-02-21 13:58:11 -0500
committerWolfgang Denk <wd@denx.de>2008-04-13 08:58:36 -0700
commit7754f33c6fb7a2c050388d20bf3847038558bdcf (patch)
treeb638b75d671f55ff357c78e6bfabb5cfd3ed7aa7 /cpu/mcf52x2/speed.c
parent950a392464e616b4590bc4501be46e2d7d162dea (diff)
downloadu-boot-imx-7754f33c6fb7a2c050388d20bf3847038558bdcf.zip
u-boot-imx-7754f33c6fb7a2c050388d20bf3847038558bdcf.tar.gz
u-boot-imx-7754f33c6fb7a2c050388d20bf3847038558bdcf.tar.bz2
LM73 bug fix for negative temperatures and cleanup
When the LM73 temperature sensor measures a temperature below 0 C, the current driver does not perform sign extension, so the result returned is 512 C too high. This patch fixes the problem, and does general cleanup of the code. Signed-off-by: Larry Johnson <lrj@acm.org>
Diffstat (limited to 'cpu/mcf52x2/speed.c')
0 files changed, 0 insertions, 0 deletions