tegra: Avoid using I2C prior to relocation
authorSimon Glass <sjg@chromium.org>
Wed, 7 Aug 2013 05:52:25 +0000 (22:52 -0700)
committerTom Rini <trini@ti.com>
Tue, 13 Aug 2013 21:11:25 +0000 (17:11 -0400)
commitcdce889959c611876690a9f0a3c7ed9aa46189c4
tree9a4d839f17eee43ecab1523b0e9f4bd0985138d8
parentdf785a7ffb7197330ec9b281cd149cbf6cec2d37
tegra: Avoid using I2C prior to relocation

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.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/i2c/tegra_i2c.c