]> git.sur5r.net Git - u-boot/blobdiff - drivers/mmc/mmc.c
dm: core: Replace of_offset with accessor (part 2)
[u-boot] / drivers / mmc / mmc.c
index 3648950cf5a3fc39cb736b01eafa1b82308ff14c..72fc17716ea2262bf9260f36d95de3cbfe841c6e 100644 (file)
@@ -1111,7 +1111,6 @@ static int mmc_startup(struct mmc *mmc)
        struct mmc_cmd cmd;
        ALLOC_CACHE_ALIGN_BUFFER(u8, ext_csd, MMC_MAX_BLOCK_LEN);
        ALLOC_CACHE_ALIGN_BUFFER(u8, test_csd, MMC_MAX_BLOCK_LEN);
-       int timeout = 1000;
        bool has_parts = false;
        bool part_completed;
        struct blk_desc *bdesc;
@@ -1167,9 +1166,6 @@ static int mmc_startup(struct mmc *mmc)
 
        err = mmc_send_cmd(mmc, &cmd, NULL);
 
-       /* Waiting for the ready status */
-       mmc_send_status(mmc, timeout);
-
        if (err)
                return err;