mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
Remove CFG_EEPROM_PAGE* dependencies for temperature sensors
The checks for CFG_EEPROM_PAGE_WRITE_ENABLE and CFG_EEPROM_PAGE_WRITE_BITS in various temperature sensor drivers are not necessary Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
This commit is contained in:
parent
c46980f6d2
commit
81e612014c
3 changed files with 0 additions and 17 deletions
|
@ -26,11 +26,6 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
|
||||
(CFG_EEPROM_PAGE_WRITE_BITS < 1)
|
||||
# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_DS1621"
|
||||
#endif
|
||||
#include <i2c.h>
|
||||
#include <dtt.h>
|
||||
|
||||
|
|
|
@ -26,12 +26,6 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
|
||||
(CFG_EEPROM_PAGE_WRITE_BITS < 1)
|
||||
# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_LM75"
|
||||
#endif
|
||||
|
||||
#include <i2c.h>
|
||||
#include <dtt.h>
|
||||
|
||||
|
|
|
@ -31,12 +31,6 @@
|
|||
*/
|
||||
|
||||
#include <common.h>
|
||||
|
||||
#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
|
||||
(CFG_EEPROM_PAGE_WRITE_BITS < 1)
|
||||
# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_LM81"
|
||||
#endif
|
||||
|
||||
#include <i2c.h>
|
||||
#include <dtt.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue