diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2012-04-23 02:36:26 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-05-08 18:02:22 -0500 |
commit | 236bfecff8091356d81e79da3281b9e4af967468 (patch) | |
tree | 0d877536adaf11f7e1d05ddc6c0e0ccab1db4600 /include/sdhci.h | |
parent | 3a6383207be3f71b39004e64464a6e99290b16fa (diff) |
mmc: add the quirk to use the sdhci for samsung-soc
To support the Samsung-SoC, added the basically functions.
Samsung-SoC didn't used the SDHCI_CTRL_HISPD.
And added set_control_reg callback for s3c64xx.
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Lei Wen<leiwen@marvell.com>
Diffstat (limited to 'include/sdhci.h')
-rw-r--r-- | include/sdhci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sdhci.h b/include/sdhci.h index a2415ba8fc..9d37183243 100644 --- a/include/sdhci.h +++ b/include/sdhci.h @@ -217,6 +217,8 @@ #define SDHCI_QUIRK_32BIT_DMA_ADDR (1 << 0) #define SDHCI_QUIRK_REG32_RW (1 << 1) #define SDHCI_QUIRK_BROKEN_R1B (1 << 2) +#define SDHCI_QUIRK_NO_HISPD_BIT (1 << 3) +#define SDHCI_QUIRK_BROKEN_VOLTAGE (1 << 4) /* to make gcc happy */ struct sdhci_host; @@ -241,10 +243,14 @@ struct sdhci_host { char *name; void *ioaddr; unsigned int quirks; + unsigned int host_caps; unsigned int version; unsigned int clock; struct mmc *mmc; const struct sdhci_ops *ops; + + void (*set_control_reg)(struct sdhci_host *host); + uint voltages; }; #ifdef CONFIG_MMC_SDHCI_IO_ACCESSORS |