projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb445fb
)
tegra: i2c: Select number of controllers for Tegra2 boards
author
Simon Glass
<sjg@chromium.org>
Fri, 3 Feb 2012 15:13:59 +0000
(15:13 +0000)
committer
Albert ARIBAUD
<albert.u.boot@aribaud.net>
Thu, 29 Mar 2012 06:12:50 +0000
(08:12 +0200)
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>
include/configs/tegra2-common.h
patch
|
blob
|
history
diff --git
a/include/configs/tegra2-common.h
b/include/configs/tegra2-common.h
index 266d0e58804d04779ca225a98353e2f019e25638..837f859c7cccce4326e0440c5a030b0a9224ce28 100644
(file)
--- 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>