[U-Boot] [PATCH] RFC: tegra: Avoid using I2C prior to relocation

Simon Glass sjg at chromium.org
Wed Aug 14 18:02:09 CEST 2013


Hi Stephen,

On Wed, Aug 14, 2013 at 9:59 AM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> 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 <swarren at nvidia.com>
>>
>> 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:-)

OK that's good, thanks.

Regards,
Simon


More information about the U-Boot mailing list