aboutsummaryrefslogtreecommitdiff
path: root/board/samsung/trats
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2017-03-30 21:30:01 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2017-04-03 11:35:38 +0900
commit8908fd66b56f481cb470528c34e286fa811254d6 (patch)
tree2fe04a82e58fd0caf1706447f590c46f715ed222 /board/samsung/trats
parent57bbc3790971bb920fe69d3d771c221535a98294 (diff)
downloadu-boot-8908fd66b56f481cb470528c34e286fa811254d6.zip
u-boot-8908fd66b56f481cb470528c34e286fa811254d6.tar.gz
u-boot-8908fd66b56f481cb470528c34e286fa811254d6.tar.bz2
board: samsung: trats: remove the i2c_init function
i2c should be initialized with device-tree. This function doesn't need anymore. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board/samsung/trats')
-rw-r--r--board/samsung/trats/trats.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/board/samsung/trats/trats.c b/board/samsung/trats/trats.c
index be5e2e2..00059a1 100644
--- a/board/samsung/trats/trats.c
+++ b/board/samsung/trats/trats.c
@@ -52,19 +52,6 @@ int exynos_init(void)
return 0;
}
-void i2c_init_board(void)
-{
-#ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */
- int err;
-
- /* I2C_8 -> FG */
- gpio_request(EXYNOS4_GPIO_Y40, "i2c_clk");
- gpio_request(EXYNOS4_GPIO_Y41, "i2c_data");
- gpio_direction_output(EXYNOS4_GPIO_Y40, 1);
- gpio_direction_output(EXYNOS4_GPIO_Y41, 1);
-#endif
-}
-
#ifndef CONFIG_DM_I2C /* TODO(maintainer): Convert to driver model */
static void trats_low_power_mode(void)
{