Fixed lockup in i2c driver.

Properly calculate the prescaler divider for the WAIT_TIMER making sure the
timeout value doesn't overflow the 15-bits.

Change to i2c_probe function to read one byte instead of zero. The automatic
transfer mode of the controller doesn't handle zero-length transfers.

Make the read/write functions wait for state machine to go idle before
returing.

Signed-off-by: Anders Berg <anders.berg@lsi.com>
Merge branch 'lsi-v2013.01.01' of https://github.com/lsigithub/lsi_axxia_uboot into lsi-v2013.01.01
Checking in USB phy init weak function

Signed-off-by: SangeethaRao <sangeetha.rao@lsi.com>