From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 17 Feb 2015 10:53:46 +0100 Subject: [U-Boot] [PATCH 1/2] cmd_eeprom: make it possible to define the used i2c bus In-Reply-To: <1423664372-20800-1-git-send-email-christian.gmeiner@gmail.com> References: <1423664372-20800-1-git-send-email-christian.gmeiner@gmail.com> Message-ID: <54E30FAA.4070208@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 On 11/02/2015 15:19, Christian Gmeiner wrote: > A SoC like the i.MX6 supports more then one i2c bus. In oder to be > able to use the eeprom command add a new define to specify the > i2c bus to use. If CONFIG_SYS_I2C_EEPROM_BUS is not defined there > is no functional change, else a call to i2c_set_bus_num(..) is > done before calling i2c_read(..) and i2c_write(..). > > Signed-off-by: Christian Gmeiner > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================