beagleboard: Remove side effects of i2c2 pullup resisters initialization code
authorAlexander Kochetkov <al.kochet@gmail.com>
Mon, 29 Sep 2014 17:46:48 +0000 (21:46 +0400)
committerTom Rini <trini@ti.com>
Fri, 10 Oct 2014 13:44:43 +0000 (09:44 -0400)
commit04e2a13336f0e507ef416bbede3be92b79c46594
tree535caa19b473e0718f605e485e69dde274951284
parentaf55e35d33894295cf0f2f94c050f67d05b50944
beagleboard: Remove side effects of i2c2 pullup resisters initialization code

Fix typo of commit d4e53f063dd25e071444b87303573e7440deeb89.

i2c2 pullup resisters are controlled by bit 0 of CONTROL_PROG_IO1.
It's value after reset is 0x00100001.

In order to clear bit 0, original code write 0xfffffffe to
CONTROL_PROG_IO1 and toggle almost all default values.

Original code affect following:
* disable i2c1 pullup resisters
* increase far end load setting for many modules
* setup invalid SC/LB combination

Signed-off-by: Alexander Kochetkov <al.kochet@gmail.com>
CC: Tom Rini <trini@ti.com>
CC: Steve Kipisz <s-kipisz2@ti.com>
board/ti/beagle/beagle.c