]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: samsung: trats2: remove the unused functions
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 3 Apr 2017 10:02:56 +0000 (19:02 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 7 Apr 2017 02:27:55 +0000 (11:27 +0900)
Remove the unused functions.
Never call the get_soft_i2c_scl/sda_pin() aynwhere.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/trats2/trats2.c

index 29206199479cad7cf9bcd92e58b4cdab9a1e4b74..30877e96250272fbec3f77c424b2417f944dfc15 100644 (file)
@@ -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();