[U-Boot] [PATCH] board:universal: fix i2c adapter

Piotr Wilczek p.wilczek at samsung.com
Tue Jan 14 08:15:07 CET 2014


Universal uses only one adapter I2C_0.

Signed-off-by: Piotr Wilczek <p.wilczek at samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
 board/samsung/universal_c210/universal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index 54d0e1e..3feef3f 100644
--- a/board/samsung/universal_c210/universal.c
+++ b/board/samsung/universal_c210/universal.c
@@ -49,7 +49,7 @@ int power_init_board(void)
 	 * For PMIC the I2C bus is named as I2C5, but it is connected
 	 * to logical I2C adapter 0
 	 */
-	ret = pmic_init(I2C_5);
+	ret = pmic_init(I2C_0);
 	if (ret)
 		return ret;
 
-- 
1.7.9.5



More information about the U-Boot mailing list