Missed OR, so we never enabled failure interrupt status bits, which prevented the eMMC detect logic to work properly. Signed-off-by: Lucas Stach <dev@xxxxxxxxxx> --- drivers/mci/tegra-sdmmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mci/tegra-sdmmc.c b/drivers/mci/tegra-sdmmc.c index 64c4550754b9..e4d82197bde7 100644 --- a/drivers/mci/tegra-sdmmc.c +++ b/drivers/mci/tegra-sdmmc.c @@ -339,7 +339,7 @@ static int tegra_sdmmc_init(struct mci_host *mci, struct device_d *dev) val = readl(regs + TEGRA_SDMMC_INT_STAT_EN); val &= ~(0xffff); - val = (TEGRA_SDMMC_INT_STAT_EN_CMD_COMPLETE | + val |= (TEGRA_SDMMC_INT_STAT_EN_CMD_COMPLETE | TEGRA_SDMMC_INT_STAT_EN_XFER_COMPLETE | TEGRA_SDMMC_INT_STAT_EN_DMA_INTERRUPT | TEGRA_SDMMC_INT_STAT_EN_BUFFER_WRITE_READY | @@ -348,7 +348,7 @@ static int tegra_sdmmc_init(struct mci_host *mci, struct device_d *dev) val = readl(regs + TEGRA_SDMMC_INT_SIG_EN); val &= ~(0xffff); - val = TEGRA_SDMMC_INT_SIG_EN_XFER_COMPLETE; + val |= TEGRA_SDMMC_INT_SIG_EN_XFER_COMPLETE; writel(val, regs + TEGRA_SDMMC_INT_SIG_EN); tegra_sdmmc_set_clock(host, 400000); -- 1.9.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox