Most of the time, a SD card was not found during probing. This hack fixed the problem. Further investigation needed !! Signed-off-by: Juergen Kilb <J.Kilb@xxxxxxxxx> --- drivers/mci/omap_hsmmc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mci/omap_hsmmc.c b/drivers/mci/omap_hsmmc.c index e0b245b..125e8a4 100644 --- a/drivers/mci/omap_hsmmc.c +++ b/drivers/mci/omap_hsmmc.c @@ -472,6 +472,8 @@ static int mmc_send_cmd(struct mci_host *mci, struct mci_cmd *cmd, writel(cmd->cmdarg, &mmc_base->arg); writel((cmd->cmdidx << 24) | flags, &mmc_base->cmd); + mdelay(5); /* wait 5 ms */ + start = get_time_ns(); do { mmc_stat = readl(&mmc_base->stat); -- 1.7.0.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox