From: Simon Glass Date: Fri, 3 Feb 2012 15:13:59 +0000 (+0000) Subject: tegra: i2c: Select number of controllers for Tegra2 boards X-Git-Tag: v2012.04-rc1~19^2~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c360033ffb3b15d64405c9a3aa5216fbf188ff0a;p=kernel%2Fu-boot.git 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 Acked-by: Heiko Schocher Signed-off-by: Tom Warren --- 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