diff options
author | Tom Rini <trini@konsulko.com> | 2018-12-03 17:51:45 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-03 17:51:45 -0500 |
commit | ec0d0d8742df12a4c0d3e8382b77c0672cd4aab6 (patch) | |
tree | 1e3f9f045bb61c577106b6bd39adbdc86abae663 /drivers/mmc/tmio-common.h | |
parent | cf7c6f533331ff032d8949663ab2abe618da9cb4 (diff) | |
parent | 8e6442e3cd07249dd45948e44f17f7e51d638f8d (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-sh
- MMC fixes for R-Car Gen3
Diffstat (limited to 'drivers/mmc/tmio-common.h')
-rw-r--r-- | drivers/mmc/tmio-common.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/mmc/tmio-common.h b/drivers/mmc/tmio-common.h index 792b1ba5ae..192026ce3e 100644 --- a/drivers/mmc/tmio-common.h +++ b/drivers/mmc/tmio-common.h @@ -117,7 +117,6 @@ struct tmio_sd_plat { struct tmio_sd_priv { void __iomem *regbase; - unsigned long mclk; unsigned int version; u32 caps; #define TMIO_SD_CAP_NONREMOVABLE BIT(0) /* Nonremovable e.g. eMMC */ @@ -133,6 +132,14 @@ struct tmio_sd_priv { #ifdef CONFIG_DM_REGULATOR struct udevice *vqmmc_dev; #endif +#if CONFIG_IS_ENABLED(CLK) + struct clk clk; +#endif +#if CONFIG_IS_ENABLED(RENESAS_SDHI) + u8 tap_set; + u8 nrtaps; +#endif + ulong (*clk_get_rate)(struct tmio_sd_priv *); }; int tmio_sd_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, |