summaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-05-04 22:54:36 +0200
committerPantelis Antoniou <pantelis.antoniou@konsulko.com>2015-05-05 12:29:42 +0300
commit33fe2fb8df01647f97a7bce96a1c7781a7f6d253 (patch)
tree2bc3309e9b7bffd2680809840d4eaad1c64c9f28 /drivers/mmc
parent707ac1ad17c09a952b366709d98a5f454cfab909 (diff)
downloadu-boot-imx-33fe2fb8df01647f97a7bce96a1c7781a7f6d253.zip
u-boot-imx-33fe2fb8df01647f97a7bce96a1c7781a7f6d253.tar.gz
u-boot-imx-33fe2fb8df01647f97a7bce96a1c7781a7f6d253.tar.bz2
ARM: mmc: bcm283x: Remove get_timer_us() from mmc driver
The get_timer_us() function is something which is no longer existing in case we use generic timer framework, so replace it with get_timer(). Signed-off-by: Marek Vasut <marex@denx.de> Cc: Stephen Warren <swarren@wwwdotorg.org> Cc: Tyler Baker <tyler.baker@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/bcm2835_sdhci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/bcm2835_sdhci.c b/drivers/mmc/bcm2835_sdhci.c
index 5677513..078ef05 100644
--- a/drivers/mmc/bcm2835_sdhci.c
+++ b/drivers/mmc/bcm2835_sdhci.c
@@ -69,11 +69,11 @@ static inline void bcm2835_sdhci_raw_writel(struct sdhci_host *host, u32 val,
* (Which is just as well - otherwise we'd have to nobble the DMA engine
* too)
*/
- while (get_timer_us(bcm_host->last_write) < bcm_host->twoticks_delay)
+ while (get_timer(bcm_host->last_write) < bcm_host->twoticks_delay)
;
writel(val, host->ioaddr + reg);
- bcm_host->last_write = get_timer_us(0);
+ bcm_host->last_write = get_timer(0);
}
static inline u32 bcm2835_sdhci_raw_readl(struct sdhci_host *host, int reg)