summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/cfi_flash.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 /drivers/mtd/cfi_flash.c
parent950a392464e616b4590bc4501be46e2d7d162dea (diff)
downloadblackbird-obmc-uboot-7754f33c6fb7a2c050388d20bf3847038558bdcf.tar.gz
blackbird-obmc-uboot-7754f33c6fb7a2c050388d20bf3847038558bdcf.zip
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 'drivers/mtd/cfi_flash.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud