X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fmmc%2Fgen_atmel_mci.c;h=4968c5e4912aa46da6b68884e58fc9edda4375f3;hb=48972d907a28de17c2a5108a3ee3d5f3eb434376;hp=d217574b57f7a3b0f34259a5c7616753d838ce28;hpb=74fac70084bb040342fafc3b0d2ef50fbe35646f;p=oweals%2Fu-boot.git diff --git a/drivers/mmc/gen_atmel_mci.c b/drivers/mmc/gen_atmel_mci.c index d217574b57..4968c5e491 100644 --- a/drivers/mmc/gen_atmel_mci.c +++ b/drivers/mmc/gen_atmel_mci.c @@ -183,10 +183,6 @@ mci_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) /* Figure out the transfer arguments */ cmdr = mci_encode_cmd(cmd, data, &error_flags); - if (data) - writel(MMCI_BF(BCNT, data->blocks) | - MMCI_BF(BLKLEN, mmc->read_bl_len), &mci->blkr); - /* Send the command */ writel(cmd->cmdarg, &mci->argr); writel(cmdr, &mci->cmdr); @@ -341,6 +337,7 @@ int atmel_mci_init(void *regs) mmc->send_cmd = mci_send_cmd; mmc->set_ios = mci_set_ios; mmc->init = mci_init; + mmc->getcd = NULL; /* need to be able to pass these in on a board by board basis */ mmc->voltages = MMC_VDD_32_33 | MMC_VDD_33_34;