]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/sdhci.c
mmc: Changed the datatype of the variable to handle 64-bit arch
[u-boot] / drivers / mmc / sdhci.c
index 758850fc3b4edd85c401bb65d6a1f2121e33c5e5..c2ae3e327bf0ebf3d607f13e4cdabdb30544bd8c 100644 (file)
@@ -151,7 +151,7 @@ static int sdhci_send_command(struct mmc *mmc, struct mmc_cmd *cmd,
        u32 mask, flags, mode;
        unsigned int time = 0, start_addr = 0;
        int mmc_dev = mmc_get_blk_desc(mmc)->devnum;
-       unsigned start = get_timer(0);
+       ulong start = get_timer(0);
 
        /* Timeout unit - ms */
        static unsigned int cmd_timeout = SDHCI_CMD_DEFAULT_TIMEOUT;