public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Re: CONFIG_DTT_LM75 and CFG_EEPROM_PAGE_WRITE_ENABLE ???   
@ 2005-04-16  4:16 Erik Theisen
  0 siblings, 0 replies; only message in thread
From: Erik Theisen @ 2005-04-16  4:16 UTC (permalink / raw)
  To: u-boot

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
-------------- 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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-16  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-16  4:16 [U-Boot-Users] Re: CONFIG_DTT_LM75 and CFG_EEPROM_PAGE_WRITE_ENABLE ??? Erik Theisen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox