From patchwork Mon Jun 10 14:51:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Gabbasov, Andrew" X-Patchwork-Id: 250258 X-Patchwork-Delegate: afleming@freescale.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 7209B2C008A for ; Tue, 11 Jun 2013 00:51:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C6C094A028; Mon, 10 Jun 2013 16:51:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bu9USWSIvbb3; Mon, 10 Jun 2013 16:51:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id D64FC4A090; Mon, 10 Jun 2013 16:51:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 1E9434A028 for ; Mon, 10 Jun 2013 16:51:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08a2zADAiTCz for ; Mon, 10 Jun 2013 16:51:32 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 BL_NJABL=ERR(-1.5) (only DNSBL check requested) Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) by theia.denx.de (Postfix) with ESMTP id 247DB4A09D for ; Mon, 10 Jun 2013 16:51:24 +0200 (CEST) Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1Um3RH-0000Tr-6i from Andrew_Gabbasov@mentor.com ; Mon, 10 Jun 2013 07:51:19 -0700 Received: from SVR-IES-FEM-02.mgc.mentorg.com ([137.202.0.106]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 10 Jun 2013 07:51:18 -0700 Received: from EU-MBX-01.mgc.mentorg.com ([169.254.1.178]) by SVR-IES-FEM-02.mgc.mentorg.com ([137.202.0.106]) with mapi id 14.02.0247.003; Mon, 10 Jun 2013 15:51:17 +0100 From: "Gabbasov, Andrew" To: "Behme, Dirk - Bosch" Thread-Topic: [U-Boot] [Patch] fsl_esdhc: Fix DMA transfer completion waiting loop Thread-Index: AQHOZdLtdWPyVb0+skmq7YS3twfN35kvBTPY Date: Mon, 10 Jun 2013 14:51:16 +0000 Message-ID: <6C5EA58090A5ED459815C4D04C2B466FD933294A@EU-MBX-01.mgc.mentorg.com> References: <1365411968-2282-1-git-send-email-andrew_gabbasov@mentor.com>, <51B5C134.7010006@de.bosch.com> In-Reply-To: <51B5C134.7010006@de.bosch.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [137.202.0.68] MIME-Version: 1.0 X-OriginalArrivalTime: 10 Jun 2013 14:51:18.0739 (UTC) FILETIME=[F713FA30:01CE65E9] Cc: "u-boot@lists.denx.de" , Fleming Andy-AFLEMING Subject: Re: [U-Boot] [Patch] fsl_esdhc: Fix DMA transfer completion waiting loop X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Hi Dirk, diff -u fsl_esdhc.c.orig fsl_esdhc.c --- fsl_esdhc.c.orig 2013-05-30 03:48:26.000000000 -0500 +++ fsl_esdhc.c 2013-06-10 09:38:30.071905119 -0500 @@ -329,6 +329,7 @@ irqstat = esdhc_read32(®s->irqstat); esdhc_write32(®s->irqstat, irqstat); + printf("fsl_esdhc: irqstat = 0x%08x\n", irqstat); /* Reset CMD and DATA portions on error */ if (irqstat & (CMD_ERR | IRQSTAT_CTOE)) {