Răsfoiți Sursa

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>
Simon Glass 13 ani în urmă
părinte
comite
c360033ffb
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      include/configs/tegra2-common.h

+ 3 - 0
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>