summaryrefslogtreecommitdiff
path: root/board/samsung/universal_c210/universal.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-10-28 12:39:26 -0400
committerTom Rini <trini@ti.com>2014-10-28 12:39:26 -0400
commit93575c30acda2b5802f542a17b296646841c88c1 (patch)
tree4160c96b57a7cce7b89611a74efaa8d00591ea3e /board/samsung/universal_c210/universal.c
parent6c499abe05f93d9f53338b9831196efeede5f2e0 (diff)
parent6bc98f50e5700a8df126e21b14903579a8c781cf (diff)
Merge git://git.denx.de/u-boot-dm
Diffstat (limited to 'board/samsung/universal_c210/universal.c')
-rw-r--r--board/samsung/universal_c210/universal.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c
index 22b08497cb..df4671394f 100644
--- a/board/samsung/universal_c210/universal.c
+++ b/board/samsung/universal_c210/universal.c
@@ -328,6 +328,8 @@ void exynos_enable_ldo(unsigned int onoff)
int exynos_init(void)
{
+ char buf[16];
+
gd->bd->bi_arch_number = MACH_TYPE_UNIVERSAL_C210;
switch (get_hwrev()) {
@@ -352,6 +354,13 @@ int exynos_init(void)
break;
}
+ /* Request soft I2C gpios */
+ sprintf(buf, "soft_i2c_scl");
+ gpio_request(CONFIG_SOFT_I2C_GPIO_SCL, buf);
+
+ sprintf(buf, "soft_i2c_sda");
+ gpio_request(CONFIG_SOFT_I2C_GPIO_SDA, buf);
+
check_hw_revision();
printf("HW Revision:\t0x%x\n", board_rev);