[U-Boot-Users] CONFIG_DTT_LM75 and CFG_EEPROM_PAGE_WRITE_ENABLE ???

Hi there,
is it realy necessary to define CFG_EEPROM_PAGE_WRITE_ENABLE in order to use the LM75 within U-Boot?
#ifdef CONFIG_DTT_LM75 #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

I wrote:
is it realy necessary to define CFG_EEPROM_PAGE_WRITE_ENABLE in order to use the LM75 within U-Boot?
#ifdef CONFIG_DTT_LM75 #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
Actually these lines above (and in ds1621.c) seems to be the only reference for CFG_EEPROM_PAGE_WRITE_ENABLE in U-Boot! SO could we just drop it if noboby cares about these defines anyway!?

In message 425E665D.7030401@imc-berlin.de Steven Scholz wrote:
is it realy necessary to define CFG_EEPROM_PAGE_WRITE_ENABLE in order to use the LM75 within U-Boot?
#ifdef CONFIG_DTT_LM75 #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
Actually these lines above (and in ds1621.c) seems to be the only reference for CFG_EEPROM_PAGE_WRITE_ENABLE in U-Boot! SO could we just drop it if noboby cares about these defines anyway!?
Erik, AFAICT this comes from your W7OLMG board - can you please elucidate.
Best regards,
Wolfgang Denk
participants (2)
-
Steven Scholz
-
Wolfgang Denk