summaryrefslogtreecommitdiff
path: root/drivers/hwmon/lm73.c
Commit message (Collapse)AuthorAgeLines
* hwmon: do not init sensors on startupHeiko Schocher2011-08-04-18/+2
| | | | | | | | | | | | | | | | | The U-Boot Design Principles[1] clearly say: Initialize devices only when they are needed within U-Boot, i.e. don't initialize the Ethernet interface(s) unless U-Boot performs a download over Ethernet; don't initialize any IDE or USB devices unless U-Boot actually tries to load files from these, etc. (and don't forget to shut down these devices after using them - otherwise nasty things may happen when you try to boot your OS). So, do not initialize and read the sensors on startup. Signed-off-by: Heiko Schocher <hs@denx.de> cc: Wolfgang Denk <wd@denx.de> cc: Holger Brunck <holger.brunck@keymile.com>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-18-2/+2
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* hwmon: Cleaning hwmon devicesMichal Simek2008-07-13-0/+6
| | | | | | | | Clean Makefile Move device specific values to driver for better reading Signed-off-by: Michal Simek <monstr@monstr.eu> Acked-by: Stefan Roese <sr@denx.de>
* LM73 bug fix for negative temperatures and cleanupLarry Johnson2008-04-13-30/+30
| | | | | | | | | 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>
* Remove superfluous preprocessor conditionals from LM73 driverLarry Johnson2008-01-12-9/+0
| | | | | | | | (1) Remove unused symbol "CFG_EEPROM_PAGE_WRITE_ENABLE". (2) Use conditional Makefile.o. Signed-off-by: Larry Johnson <lrj@acm.org>
* Add driver for National Semiconductor LM73 temperature sensorLarry Johnson2007-12-27-0/+181
This driver is based on the driver for the LM75. Signed-off-by: Larry Johnson <lrj@acm.org>