summaryrefslogtreecommitdiff
path: root/drivers/mmc/tegra2_mmc.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-09-21 12:40:04 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-10-27 21:56:29 +0200
commit4ed59e70e4e0309794d532120d8c357b308b0e23 (patch)
tree499b1387f5048eff51861f2069be0abc075a04e9 /drivers/mmc/tegra2_mmc.h
parent3e00dbdf24250548bdf702a79713befae5640723 (diff)
downloadu-boot-imx-4ed59e70e4e0309794d532120d8c357b308b0e23.zip
u-boot-imx-4ed59e70e4e0309794d532120d8c357b308b0e23.tar.gz
u-boot-imx-4ed59e70e4e0309794d532120d8c357b308b0e23.tar.bz2
tegra2: Add more clock functions
This adds most of the clock functions required by board and driver code: -query and adjust peripheral clocks -query and adjust PLLs -reset and enable control These functions are plumbed in as required. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/mmc/tegra2_mmc.h')
-rw-r--r--drivers/mmc/tegra2_mmc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/tegra2_mmc.h b/drivers/mmc/tegra2_mmc.h
index 4b80f9f..28698e0 100644
--- a/drivers/mmc/tegra2_mmc.h
+++ b/drivers/mmc/tegra2_mmc.h
@@ -73,6 +73,7 @@ struct mmc_host {
unsigned int version; /* SDHCI spec. version */
unsigned int clock; /* Current clock (MHz) */
unsigned int base; /* Base address, SDMMC1/2/3/4 */
+ enum periph_id mmc_id; /* Peripheral ID: PERIPH_ID_... */
};
int tegra2_mmc_init(int dev_index, int bus_width);