]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/mmc.c
mmc: Changed the datatype of the variable to handle 64-bit arch
[u-boot] / drivers / mmc / mmc.c
index a08c69476ca8395ac301ac4731309974ad3e8aaf..3cfe6bff49083e8e01448cd1ffb78aa09eadc4f1 100644 (file)
@@ -679,7 +679,7 @@ static int mmc_complete_op_cond(struct mmc *mmc)
 {
        struct mmc_cmd cmd;
        int timeout = 1000;
-       uint start;
+       ulong start;
        int err;
 
        mmc->op_cond_pending = 0;
@@ -2611,7 +2611,7 @@ static int mmc_complete_init(struct mmc *mmc)
 int mmc_init(struct mmc *mmc)
 {
        int err = 0;
-       __maybe_unused unsigned start;
+       __maybe_unused ulong start;
 #if CONFIG_IS_ENABLED(DM_MMC)
        struct mmc_uclass_priv *upriv = dev_get_uclass_priv(mmc->dev);