summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-28 20:26:54 -0400
committerTom Rini <trini@konsulko.com>2022-11-10 09:45:53 -0500
commit9244b2fda9edbc5f1c2b9b9bb827022993663d4a (patch)
treeb68c9fa94af2becba060931f6fc8bc1c4870052c /board/samsung
parent77b5cc2948f5d93fe3d275302f596ffd8701a875 (diff)
downloadu-boot-9244b2fda9edbc5f1c2b9b9bb827022993663d4a.tar.gz
Convert CONFIG_SYS_I2C_INIT_BOARD to Kconfig
This converts the following to Kconfig: CONFIG_SYS_I2C_INIT_BOARD Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/samsung')
-rw-r--r--board/samsung/common/board.c4
-rw-r--r--board/samsung/goni/goni.c10
2 files changed, 0 insertions, 14 deletions
diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c
index 49d4024464..943b498293 100644
--- a/board/samsung/common/board.c
+++ b/board/samsung/common/board.c
@@ -176,10 +176,6 @@ int board_early_init_f(void)
return err;
}
-#ifdef CONFIG_SYS_I2C_INIT_BOARD
- board_i2c_init(gd->fdt_blob);
-#endif
-
return exynos_early_init_f();
}
#endif
diff --git a/board/samsung/goni/goni.c b/board/samsung/goni/goni.c
index ba25ba27b8..535f8e1e01 100644
--- a/board/samsung/goni/goni.c
+++ b/board/samsung/goni/goni.c
@@ -33,16 +33,6 @@ int board_init(void)
return 0;
}
-#ifdef CONFIG_SYS_I2C_INIT_BOARD
-void i2c_init_board(void)
-{
- gpio_request(S5PC110_GPIO_J43, "i2c_clk");
- gpio_request(S5PC110_GPIO_J40, "i2c_data");
- gpio_direction_output(S5PC110_GPIO_J43, 1);
- gpio_direction_output(S5PC110_GPIO_J40, 1);
-}
-#endif
-
int dram_init(void)
{
gd->ram_size = PHYS_SDRAM_1_SIZE + PHYS_SDRAM_2_SIZE +