i2c: mv64xxx: add timeout waiting for bus ready
This prevents barebox hanging e.g. in case the i2c clock is accidentally
connected to GND.

Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 3f2df4e commit b4947c6c05719a77f95062d18aa5be7fd14474b9
@Bastian Stender Bastian Stender authored on 16 Aug 2017
Sascha Hauer committed on 17 Nov 2017
Showing 1 changed file
View
drivers/i2c/busses/i2c-mv64xxx.c