From: Jaehoon Chung Date: Mon, 3 Apr 2017 10:02:56 +0000 (+0900) Subject: board: samsung: trats2: remove the unused functions X-Git-Tag: v2017.05-rc2~59^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b7ad598dde18de7ea5e0672871fcc5e18c85e15d;p=oweals%2Fu-boot.git board: samsung: trats2: remove the unused functions Remove the unused functions. Never call the get_soft_i2c_scl/sda_pin() aynwhere. Signed-off-by: Jaehoon Chung Signed-off-by: Minkyu Kang --- diff --git a/board/samsung/trats2/trats2.c b/board/samsung/trats2/trats2.c index 2920619947..30877e9625 100644 --- a/board/samsung/trats2/trats2.c +++ b/board/samsung/trats2/trats2.c @@ -100,24 +100,6 @@ static void board_external_gpio_init(void) gpio_set_pull(EXYNOS4X12_GPIO_X37, S5P_GPIO_PULL_NONE); /* HDMI_HPD */ } -#ifdef CONFIG_SYS_I2C_SOFT -int get_soft_i2c_scl_pin(void) -{ - if (I2C_ADAP_HWNR) - return EXYNOS4X12_GPIO_M21; /* I2C9 */ - else - return EXYNOS4X12_GPIO_F14; /* I2C8 */ -} - -int get_soft_i2c_sda_pin(void) -{ - if (I2C_ADAP_HWNR) - return EXYNOS4X12_GPIO_M20; /* I2C9 */ - else - return EXYNOS4X12_GPIO_F15; /* I2C8 */ -} -#endif - int exynos_early_init_f(void) { board_external_gpio_init();