diff options
author | Tom Rini <trini@konsulko.com> | 2022-10-28 20:26:54 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-11-10 09:45:53 -0500 |
commit | 9244b2fda9edbc5f1c2b9b9bb827022993663d4a (patch) | |
tree | b68c9fa94af2becba060931f6fc8bc1c4870052c /board/samsung | |
parent | 77b5cc2948f5d93fe3d275302f596ffd8701a875 (diff) | |
download | u-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.c | 4 | ||||
-rw-r--r-- | board/samsung/goni/goni.c | 10 |
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 + |