diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-28 09:16:18 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2019-02-28 09:16:18 +0100 |
commit | 82b6248705cccc4341b4c1d4a80a70f018198db0 (patch) | |
tree | 1341700e8cad07b71f90ad41826e6332adabe763 /drivers/mmc/host/tmio_mmc.h | |
parent | ad9be7fff3e729287f61a2a5e811c03090003fff (diff) | |
parent | c53336c8f5f29043fded57912cc06c24e12613d7 (diff) |
Merge branch 'fixes' into next
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index c03529e3f01a..2adb0d24360f 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -277,6 +277,11 @@ static inline void sd_ctrl_write32_as_16_and_16(struct tmio_mmc_host *host, iowrite16(val >> 16, host->ctl + ((addr + 2) << host->bus_shift)); } +static inline void sd_ctrl_write32(struct tmio_mmc_host *host, int addr, u32 val) +{ + iowrite32(val, host->ctl + (addr << host->bus_shift)); +} + static inline void sd_ctrl_write32_rep(struct tmio_mmc_host *host, int addr, const u32 *buf, int count) { |