From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Theisen Date: Sat, 16 Apr 2005 00:16:26 -0400 Subject: [U-Boot-Users] =?ISO-8859-1?Q?Re:_CONFIG=5FDTT=5FLM75_and_CFG=5FEEPROM=5FPAGE?= =?ISO-8859-1?Q?=5FWRITE=5FENABLE_=3F=3F=3F_=A0_?= Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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