]> git.sur5r.net Git - u-boot/commit
ARM: DRA7xx: clocks: Fixing i2c_init for PMIC
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 30 May 2013 03:19:30 +0000 (03:19 +0000)
committerTom Rini <trini@ti.com>
Mon, 10 Jun 2013 12:43:09 +0000 (08:43 -0400)
commit3332b244214d63dcf347fefb700fd71becb4b46e
tree80d0f79702e6b5375a10a7a1081515aa54de4c03
parent63fc0c775c1eb86b9a1abb4e37311bbcf1dca008
ARM: DRA7xx: clocks: Fixing i2c_init for PMIC

In DRA7xx Soc's voltage scaling is done using GPI2C.
So i2c_init should happen before scaling. I2C driver
uses __udelay which needs timer to be initialized.
So moving timer_init just before voltage scaling.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/cpu/armv7/omap-common/clocks-common.c
arch/arm/cpu/armv7/omap-common/hwinit-common.c