diff options
author | Simon Glass <sjg@chromium.org> | 2011-09-21 12:40:04 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-10-27 21:56:29 +0200 |
commit | 4ed59e70e4e0309794d532120d8c357b308b0e23 (patch) | |
tree | 499b1387f5048eff51861f2069be0abc075a04e9 /drivers/mmc/tegra2_mmc.h | |
parent | 3e00dbdf24250548bdf702a79713befae5640723 (diff) | |
download | u-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.h | 1 |
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); |