summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDoug Anderson <dianders@chromium.org>2011-10-27 12:55:25 -0700
committerGerrit <chrome-bot@google.com>2011-10-28 10:38:27 -0700
commit186e1be5e2555ff51d496ad7a179b5988ae6be9a (patch)
tree6e8df7c09b4b333e9577517e05751f2f62580443 /common
parente175c4a364801ffc3cd5a1012d920cb2beb6bd6b (diff)
mmc: tegra: Rename tegra2_mmc to tegra_mmc in prep for tegra3
BUG=chromium-os:21540 TEST=Built u-boot and booted u-boot on tegra2_kaen Change-Id: Id6f11512ea1a95bd57b600601b488ae20b34db2d Signed-off-by: Doug Anderson <dianders@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/10808 Reviewed-by: Tom Warren <twarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/fdt_decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fdt_decode.c b/common/fdt_decode.c
index c9bb28f6d6..1e32ad9dbf 100644
--- a/common/fdt_decode.c
+++ b/common/fdt_decode.c
@@ -577,7 +577,7 @@ int fdt_decode_usb(const void *blob, int node, unsigned osc_frequency_mhz,
int fdt_decode_sdmmc(const void *blob, int node, struct fdt_sdmmc *config)
{
- config->reg = (struct tegra2_mmc *)get_addr(blob, node, "reg");
+ config->reg = (struct tegra_mmc *)get_addr(blob, node, "reg");
config->enabled = get_is_enabled(blob, node, 1);
config->periph_id = get_int(blob, node, "periph-id", -1);
config->width = get_int(blob, node, "width", -1);