From: Piotr Wilczek
Date: Tue, 14 Jan 2014 07:15:07 +0000 (+0100)
Subject: board:universal: fix i2c adapter
X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c47817be257277f6445ea77bbf00954377ca9802;p=u-boot.git
board:universal: fix i2c adapter
Universal uses only one adapter I2C_0.
Signed-off-by: Piotr Wilczek
Signed-off-by: Kyungmin Park
Acked-by: Przemyslaw Marczak
---
diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index 54d0e1e0e3..3feef3f777 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;