summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-09-01 13:37:27 -0700
committerSimon Glass <sjg@chromium.org>2011-09-15 12:41:21 -0700
commite26a6be71dd36659af343b9f0ec14ea981d23692 (patch)
treeca930432571f968fd174b3cfaea6533d9ed62c60 /drivers/i2c
parent0797d6dcb08ce12f7040a5252d304f6a862fa8b7 (diff)
tegra: Rename TEGRA2 to TEGRA
Some constants are actually better of with generic Tegra family names. This also cleans up a few addresses which were in drivers rather than in the tegra.h header file. BUG=chromium-os:19004 TEST=build and boot on Seaboard Change-Id: I1cabb5191a2b36648a37268069beb3b43c12d0e1 Reviewed-on: http://gerrit.chromium.org/gerrit/7128 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/tegra2_i2c.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/i2c/tegra2_i2c.c b/drivers/i2c/tegra2_i2c.c
index 81455f8625f..f069c4d4375 100644
--- a/drivers/i2c/tegra2_i2c.c
+++ b/drivers/i2c/tegra2_i2c.c
@@ -393,10 +393,10 @@ static const enum periph_id i2c_periph_ids[CONFIG_SYS_MAX_I2C_BUS] = {
};
static const u32 *i2c_bus_base[CONFIG_SYS_MAX_I2C_BUS] = {
- (u32 *)TEGRA2_DVC_BASE,
- (u32 *)TEGRA2_I2C1_BASE,
- (u32 *)TEGRA2_I2C2_BASE,
- (u32 *)TEGRA2_I2C3_BASE
+ (u32 *)TEGRA_DVC_BASE,
+ (u32 *)TEGRA_I2C1_BASE,
+ (u32 *)TEGRA_I2C2_BASE,
+ (u32 *)TEGRA_I2C3_BASE
};
/* pinmux_configs based on the pinmux configuration */