From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lubomir Popov Date: Fri, 31 May 2013 13:58:03 +0300 Subject: [U-Boot] [PATCH v3] OMAP: I2C: New read, write and probe functions In-Reply-To: <51A87DC9.60507@mm-sol.com> References: <27c4794f87f27e2cde8051ad6a990065.squirrel@www.mm-sol.com> <20130530143742.GM11917@bill-the-cat> <20130530170709.GP11917@bill-the-cat> <51A87DC9.60507@mm-sol.com> Message-ID: <51A8823B.4020100@mm-sol.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tom, [snip] >> But, crap, breaks am335x_evm (and probably beaglebones, etc). I'll >> dig into this more to see if I can spot something obvious tomorrow. > Made it work on the am335x_evm (tested, with AM3359 on board). > Problem was in the new i2c_probe, which on this board is called by > the SPL and caused a hang (interestingly, when called from regular > u-boot, works fine). Fix is to add a small delay. Clocking and I2C > speed should be identical between SPL and U-Boot, but probably are > not; I did not have time to look with a scope, but don't have any > other reasonable explanation. Whatever, now it is working. I shall > submit the patch tonight. > [snip] Just tested on Beaglebone, works fine as well. -- Lubo