From patchwork Mon Sep 7 18:39:46 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 46679 Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8AMJjus016427 for ; Thu, 10 Sep 2009 22:19:45 GMT Received: from dlep35.itg.ti.com ([157.170.170.118]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id n87IbuJO025412; Mon, 7 Sep 2009 13:38:01 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id n87IbuNg001107; Mon, 7 Sep 2009 13:37:56 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 32FE180627; Mon, 7 Sep 2009 13:37:56 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 4AA9C80626 for ; Mon, 7 Sep 2009 13:37:54 -0500 (CDT) Received: from white.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id n87Ibr1o007349 for ; Mon, 7 Sep 2009 13:37:53 -0500 (CDT) Received: from mail155-tx2-R.bigfish.com (mail-tx2.bigfish.com [65.55.88.114]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id n87IbmFK001796 for ; Mon, 7 Sep 2009 13:37:53 -0500 Received: from mail155-tx2 (localhost.localdomain [127.0.0.1]) by mail155-tx2-R.bigfish.com (Postfix) with ESMTP id 9557F301F9 for ; Mon, 7 Sep 2009 18:37:48 +0000 (UTC) X-SpamScore: 0 X-BigFish: vps0(zzzz1202hzzz2dh6bh61h) X-Spam-TCS-SCL: 0:0 X-FB-SS: 5, X-MS-Exchange-Organization-Antispam-Report: OrigIP: 63.81.120.155; Service: EHS Received: by mail155-tx2 (MessageSwitch) id 125234866743889_3911; Mon, 7 Sep 2009 18:37:47 +0000 (UCT) Received: from imap.sh.mvista.com (unknown [63.81.120.155]) by mail155-tx2.bigfish.com (Postfix) with ESMTP id DFC6370051 for ; Mon, 7 Sep 2009 18:37:46 +0000 (UTC) Received: from wasted.dev.rtsoft.ru (unknown [10.150.0.9]) by imap.sh.mvista.com (Postfix) with ESMTP id 02AB13ECA; Mon, 7 Sep 2009 11:37:44 -0700 (PDT) From: Sergei Shtylyov Organization: MontaVista Software Inc. To: khilman@deeprootsystems.com Date: Mon, 7 Sep 2009 22:39:46 +0400 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200909072239.46823.sshtylyov@ru.mvista.com> Cc: davinci-linux-open-source@linux.davincidsp.com Subject: [PATCH 3/3] DA8x0 EVM: CPPI 4.1 initialization X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.4 Precedence: list List-Id: davinci-linux-open-source.linux.davincidsp.com List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com Initialize the CPPI 4.1 subsystem. Signed-off-by: Sergei Shtylyov --- The patch is against the recent DaVinci tree. arch/arm/mach-davinci/board-da830-evm.c | 2 ++ arch/arm/mach-davinci/board-da850-evm.c | 2 ++ 2 files changed, 4 insertions(+) Index: linux-davinci/arch/arm/mach-davinci/board-da830-evm.c =================================================================== --- linux-davinci.orig/arch/arm/mach-davinci/board-da830-evm.c +++ linux-davinci/arch/arm/mach-davinci/board-da830-evm.c @@ -79,6 +79,8 @@ static __init void da830_evm_init(void) struct davinci_soc_info *soc_info = &davinci_soc_info; int ret; + da8xx_cppi41_init(); + ret = da8xx_register_edma(); if (ret) pr_warning("da830_evm_init: edma registration failed: %d\n", Index: linux-davinci/arch/arm/mach-davinci/board-da850-evm.c =================================================================== --- linux-davinci.orig/arch/arm/mach-davinci/board-da850-evm.c +++ linux-davinci/arch/arm/mach-davinci/board-da850-evm.c @@ -269,6 +269,8 @@ static __init void da850_evm_init(void) struct davinci_soc_info *soc_info = &davinci_soc_info; int ret; + da8xx_cppi41_init(); + ret = da8xx_pinmux_setup(da850_nand_pins); if (ret) pr_warning("da850_evm_init: nand mux setup failed: %d\n",