mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-22 16:53:37 +08:00
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>