mirror of
https://xff.cz/git/u-boot/
synced 2026-04-11 08:29:59 +02: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>