projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm: i2c: tegra: Convert to driver model
[platform/kernel/u-boot.git]
/
board
/
nvidia
/
common
/
board.c
diff --git
a/board/nvidia/common/board.c
b/board/nvidia/common/board.c
index
0e4a65a
..
4bdbf01
100644
(file)
--- a/
board/nvidia/common/board.c
+++ b/
board/nvidia/common/board.c
@@
-113,10
+113,6
@@
int board_init(void)
power_det_init();
#ifdef CONFIG_SYS_I2C_TEGRA
power_det_init();
#ifdef CONFIG_SYS_I2C_TEGRA
-#ifndef CONFIG_SYS_I2C_INIT_BOARD
-#error "You must define CONFIG_SYS_I2C_INIT_BOARD to use i2c on Nvidia boards"
-#endif
- i2c_init_board();
# ifdef CONFIG_TEGRA_PMU
if (pmu_set_nominal())
debug("Failed to select nominal voltages\n");
# ifdef CONFIG_TEGRA_PMU
if (pmu_set_nominal())
debug("Failed to select nominal voltages\n");