summaryrefslogtreecommitdiff
path: root/include/sdhci.h
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2012-08-30 16:24:11 +0000
committerAndy Fleming <afleming@freescale.com>2012-09-05 17:33:26 -0500
commitb09ed6e4fe6065851751e7fc381ff40c23fb09f1 (patch)
tree43abeec28f5647d12e612f9c216309ee028dbda6 /include/sdhci.h
parent8458e0283f041a39c80cae9e2ba67ed3c8ebd73c (diff)
downloadu-boot-imx-b09ed6e4fe6065851751e7fc381ff40c23fb09f1.zip
u-boot-imx-b09ed6e4fe6065851751e7fc381ff40c23fb09f1.tar.gz
u-boot-imx-b09ed6e4fe6065851751e7fc381ff40c23fb09f1.tar.bz2
mmc: s5p_sdhci: add the set_mmc_clk for cmu control
Samsung SoC use the cmu control to set clock. Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r--include/sdhci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h
index d41287f..c0345ed 100644
--- a/include/sdhci.h
+++ b/include/sdhci.h
@@ -253,8 +253,10 @@ struct sdhci_host {
unsigned int clock;
struct mmc *mmc;
const struct sdhci_ops *ops;
+ int index;
void (*set_control_reg)(struct sdhci_host *host);
+ void (*set_clock)(int dev_index, unsigned int div);
uint voltages;
};