From patchwork Wed Apr 21 15:37:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 93893 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o3LFaWh9007035 for ; Wed, 21 Apr 2010 15:38:04 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755775Ab0DUPhQ (ORCPT ); Wed, 21 Apr 2010 11:37:16 -0400 Received: from mail.gmx.net ([213.165.64.20]:49964 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755680Ab0DUPhP (ORCPT ); Wed, 21 Apr 2010 11:37:15 -0400 Received: (qmail invoked by alias); 21 Apr 2010 15:37:13 -0000 Received: from p57BD1949.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.25.73] by mail.gmx.net (mp020) with SMTP; 21 Apr 2010 17:37:13 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX19HkiV1XNJHWiuHYLepQbZfnuyN1UxEJqIgFv6X2s lH/pMIyxHPf48+ Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1O4bzR-0004c7-KG; Wed, 21 Apr 2010 17:37:25 +0200 Date: Wed, 21 Apr 2010 17:37:25 +0200 (CEST) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: linux-mmc@vger.kernel.org, Dan Williams , Ian Molton Subject: [PATCH 5/8] SH: Add SDHI DMA support to ecovec In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 X-FuHaFi: 0.52000000000000002 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 21 Apr 2010 15:38:21 +0000 (UTC) diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 0e36b04..ff330f0 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include #include @@ -31,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -442,6 +444,8 @@ static void sdhi0_set_pwr(struct platform_device *pdev, int state) } static struct sh_mobile_sdhi_info sdhi0_info = { + .dma_slave_tx = SHDMA_SLAVE_SDHI0_TX, + .dma_slave_rx = SHDMA_SLAVE_SDHI0_RX, .set_pwr = sdhi0_set_pwr, }; @@ -478,6 +482,9 @@ static void sdhi1_set_pwr(struct platform_device *pdev, int state) } static struct sh_mobile_sdhi_info sdhi1_info = { + .dma_slave_tx = SHDMA_SLAVE_SDHI1_TX, + .dma_slave_rx = SHDMA_SLAVE_SDHI1_RX, + .tmio_flags = TMIO_DEFER_RX_COMPLETE, .set_pwr = sdhi1_set_pwr, };