From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 13 Nov 2013 07:37:11 +0100 Subject: [U-Boot] cmd_eeprom: fix i2c_{read|write} usage if env is in I2C EEPROM In-Reply-To: <1383832303-11856-1-git-send-email-abrodkin@synopsys.com> References: <1383832303-11856-1-git-send-email-abrodkin@synopsys.com> Message-ID: <52831E17.7090902@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Alexey, Am 07.11.2013 14:51, schrieb Alexey Brodkin: > Data "offset" is not used directly in case of I2C EEPROM. Istead it is > split into "block number" and "offset within mentioned block". Which are > "addr[0]" and "addr[1]" respectively. > > Signed-off-by: Alexey Brodkin > > Cc: Jean-Christophe PLAGNIOL-VILLARD > cc: Peter Tyser > Cc: Heiko Schocher > Cc: Wolfgang Denk > Cc: Stefan Roese > Cc: Mischa Jonker > > --- > common/cmd_eeprom.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Thanks! Apllied to u-boot-i2c.git bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany