diff options
author | Simon Glass <sjg@chromium.org> | 2012-10-30 07:28:53 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2013-07-23 08:34:55 +0200 |
commit | 1f2ba722ac06393d6abe6d4734824d3b98ea9108 (patch) | |
tree | 86efda8166496c496fcca5deb6cf53764ea2b86b /board/nvidia | |
parent | d84eb856c4385c90f4f68594819744b638f77a02 (diff) | |
download | u-boot-imx-1f2ba722ac06393d6abe6d4734824d3b98ea9108.zip u-boot-imx-1f2ba722ac06393d6abe6d4734824d3b98ea9108.tar.gz u-boot-imx-1f2ba722ac06393d6abe6d4734824d3b98ea9108.tar.bz2 |
tegra: i2c: Enable new CONFIG_SYS_I2C framework
This enables CONFIG_SYS_I2C on Tegra, updating existing boards and the Tegra
i2c driver to support this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'board/nvidia')
-rw-r--r-- | board/nvidia/common/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index f60f21f..4cb65c1 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -151,7 +151,7 @@ int board_init(void) power_det_init(); -#ifdef CONFIG_TEGRA_I2C +#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 @@ -165,7 +165,7 @@ int board_init(void) debug("Memory controller init failed: %d\n", err); # endif # endif /* CONFIG_TEGRA_PMU */ -#endif /* CONFIG_TEGRA_I2C */ +#endif /* CONFIG_SYS_I2C_TEGRA */ #ifdef CONFIG_USB_EHCI_TEGRA pin_mux_usb(); |