diff options
author | Simon Glass <sjg@chromium.org> | 2012-02-03 15:13:59 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-29 08:12:50 +0200 |
commit | c360033ffb3b15d64405c9a3aa5216fbf188ff0a (patch) | |
tree | a8a360b7b1ca1baa228d0f11a75dcd8da5f3231b /include | |
parent | cb445fb4ccd5f1b3e0bf416ca0bafd90a5b2a2b0 (diff) | |
download | u-boot-imx-c360033ffb3b15d64405c9a3aa5216fbf188ff0a.zip u-boot-imx-c360033ffb3b15d64405c9a3aa5216fbf188ff0a.tar.gz u-boot-imx-c360033ffb3b15d64405c9a3aa5216fbf188ff0a.tar.bz2 |
tegra: i2c: Select number of controllers for Tegra2 boards
The Tegra 2x SOC has four ports, so define TEGRA_I2C_NUM_CONTROLLERS
in the shared config file.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/tegra2-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 266d0e5..837f859 100644 --- a/include/configs/tegra2-common.h +++ b/include/configs/tegra2-common.h @@ -94,6 +94,9 @@ #define CONFIG_EHCI_IS_TDI #define CONFIG_EHCI_DCACHE +/* Total I2C ports on Tegra2 */ +#define TEGRA_I2C_NUM_CONTROLLERS 4 + /* include default commands */ #include <config_cmd_default.h> |