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

16 Apr
2005
16 Apr
'05
6:16 a.m.
In message <425E665D.7030401@im...> 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
This is going somewhat on recollection...
The lm75 requires a multibyte write. The old i2c layer only worked with 1 byte at a time unless page writes were used. The newer i2c allows multibyte writes by default. I believe it can go away.
Erik
7325
Age (days ago)
7325
Last active (days ago)
0 comments
1 participants
participants (1)
-
Erik Theisen