OpenCores
URL https://opencores.org/ocsvn/test_project/test_project/trunk

Subversion Repositories test_project

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /test_project
    from Rev 71 to Rev 72
    Reverse comparison

Rev 71 → Rev 72

/trunk/linux_sd_driver/drivers/mmc/host/mmc_ocores.c
117,15 → 117,32
printk(KERN_INFO "mmc_ocores: unhandled response type %02x\n",
mmc_resp_type(cmd));
}
 
/*If data
// if ( data->blksz & 0x3 ) {
pr_debug("Unsupported block size\n");
cmd->error = -EINVAL;
mmc_request_done(host->mmc, host->request);
return;
} */
printk(KERN_ALERT "%s: cmd_arg = %08x\n", __FUNCTION__, cmd_arg);
printk(KERN_ALERT "%s: cmd_command = %08x\n", __FUNCTION__, cmd_command);
oc_host=host;
 
CMD_IRQ_ON (host,(ECC|EEI));
writel(cmd_command, host->base + SD_COMMAND);
wmb();
writel(cmd_arg, host->base + SD_ARG);
//XXX:Remove after uppdated bitfil with Timeout
if (cmd->opcode == 8 || cmd->opcode == 5 )
{
host->mrq->cmd->error = -ETIMEDOUT;
mmc_request_done(host->mmc, host->mrq);
}
else
{
CMD_IRQ_ON (host,(ECC|EEI));
writel(cmd_command, host->base + SD_COMMAND);
wmb();
writel(cmd_arg, host->base + SD_ARG);
}
}
 
static void ocores_process_next(struct ocores_host *host)
411,7 → 428,7
mmc_request_done(host->mmc, host->mrq);
}
}
 
}
 
static int ocores_remove(struct platform_device *pdev)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.