From 4644d31777f2f537e192a436d02d08fdfe210bcc Mon Sep 17 00:00:00 2001 From: Vishnu Suresh Date: Fri, 5 Jun 2009 17:04:36 +0530 Subject: Retain ESDHC SCR settings This patch retains the AHB2MAG IRQ_BYPASS set upon esdhc_initialize. Signed-off-by: Vishnu Suresh --- drivers/mmc/fsl_esdhc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/fsl_esdhc.c b/drivers/mmc/fsl_esdhc.c index f93e5fcf3f..085dba825e 100644 --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -402,7 +402,7 @@ static int esdhc_init(struct mmc *mmc) int timeout = 1000; /* Enable cache snooping */ - out_be32(®s->scr, 0x00000040); + out_be32(®s->scr, 0x00000040 | in_be32(®s->scr)); out_be32(®s->sysctl, SYSCTL_HCKEN | SYSCTL_IPGEN); /* Set the initial clock speed */ -- cgit v1.2.3