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

Erik Theisen etheisen at mindspring.com
Sat Apr 16 06:16:26 CEST 2005


In message <425E665D.7030401 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 815 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050416/848de182/attachment.bin 


More information about the U-Boot mailing list