瀏覽代碼

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 年之前
父節點
當前提交
c360033ffb
共有 1 個文件被更改,包括 3 次插入0 次删除
  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>