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
Signature · 1 line
Steven
Quoted 9 lines · I wrote:
is it realy necessary to define
CFG_EEPROM_PAGE_WRITE_ENABLEin 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!?
Signature · 1 line
Steven
Quoted 11 lines · In message <[email protected]> Steven Scholz wrote:
Quoted 10 lines
is it realy necessary to define
CFG_EEPROM_PAGE_WRITE_ENABLEin 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
Quoted 3 lines
Actually these lines above (and in
ds1621.c) seems to be the only reference forCFG_EEPROM_PAGE_WRITE_ENABLEin 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
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "All my life I wanted to be someone; I guess I should have been more specific." - Jane Wagner