From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 14 Aug 2013 09:59:08 -0600 Subject: [U-Boot] [PATCH] RFC: tegra: Avoid using I2C prior to relocation In-Reply-To: <20130813211251.GJ18706@bill-the-cat> References: <1375854747-3621-1-git-send-email-sjg@chromium.org> <520273B1.30200@wwwdotorg.org> <20130813211251.GJ18706@bill-the-cat> Message-ID: <520BA94C.20009@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 08/13/2013 03:12 PM, Tom Rini wrote: > On Wed, Aug 07, 2013 at 10:20:01AM -0600, Stephen Warren wrote: >> On 08/06/2013 11:52 PM, Simon Glass wrote: >>> Tegra recently moved to the new I2C framework, which sets up >>> I2C prior to relocation, and prior to calling i2c_init_board(). >>> This causes a crash on Tegra boards. >>> >>> note: >>> >>> There are many ways to fix this. I believe this is one. It >>> disables i2c_init() until relocation is complete. I have been >>> unable to test it so far due to problems getting my Seaboard to >>> work. I will try another Tegra board, but send this for comment >>> in the meantime. >> >> Tested-by: Stephen Warren > > With a hand-tweaked commit message, applied to u-boot/master, > thanks! Thanks! For the record, I tested u-boot.git/master commit: cdce889 tegra: Avoid using I2C prior to relocation on Beaver, and booted a kernel both from SD card and over USB Ethernet, and both cases worked fine. So, we have a known-good commit for any future bisects:-)