Message ID | 1328318041-10943-9-git-send-email-sjg@chromium.org |
---|---|
State | Not Applicable, archived |
Headers | show |
Hello Simon, Simon Glass wrote: > 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> > --- > > include/configs/tegra2-common.h | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) Acked-by: Heiko Schocher <hs@denx.de> bye, Heiko
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>
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> --- include/configs/tegra2-common.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)