From patchwork Thu Sep 17 02:59:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: nsnehaprabha@ti.com X-Patchwork-Id: 48199 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8H30fGa032131 for ; Thu, 17 Sep 2009 03:00:42 GMT Received: from dlep35.itg.ti.com ([157.170.170.118]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id n8H30fAL026748 for ; Wed, 16 Sep 2009 22:00:41 -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 n8H30efT017136 for ; Wed, 16 Sep 2009 22:00:40 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 8805D807E1 for ; Wed, 16 Sep 2009 22:00:06 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlep33.itg.ti.com (dlep33.itg.ti.com [157.170.170.112]) by linux.omap.com (Postfix) with ESMTP id 0CFBC80626 for ; Wed, 16 Sep 2009 21:59:50 -0500 (CDT) Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep33.itg.ti.com (8.13.7/8.13.7) with ESMTP id n8H2xnh3011560; Wed, 16 Sep 2009 21:59:49 -0500 (CDT) Received: from gt9szxw61.gt.design.ti.com (gt9szxw61.gt.design.ti.com [158.218.100.25]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id n8H2xnZ28061; Wed, 16 Sep 2009 21:59:49 -0500 (CDT) Received: from gt9szxw61.gt.design.ti.com (localhost [127.0.0.1]) by gt9szxw61.gt.design.ti.com (8.13.1/8.13.1) with ESMTP id n8H2xmFu009745; Wed, 16 Sep 2009 22:59:48 -0400 Received: (from a0869522@localhost) by gt9szxw61.gt.design.ti.com (8.13.1/8.13.1/Submit) id n8H2xmWO009742; Wed, 16 Sep 2009 22:59:48 -0400 From: nsnehaprabha@ti.com To: davinci-linux-open-source@linux.davincidsp.com Date: Wed, 16 Sep 2009 22:59:48 -0400 Message-Id: <1253156388-9708-1-git-send-email-nsnehaprabha@ti.com> X-Mailer: git-send-email 1.6.0.4 Cc: Subject: [PATCH] DM355: Update NAND driver platform data 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+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com From: Sneha Narnakaje This patch updates the NAND driver platform data to use 4-bit ECC and the ECC_HW/ECC_HW_OOB_FIRST modes. Signed-off-by: Sneha Narnakaje --- arch/arm/mach-davinci/board-dm355-evm.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/board-dm355-evm.c b/arch/arm/mach-davinci/board-dm355-evm.c index 9f25fd8..d12c9e9 100644 --- a/arch/arm/mach-davinci/board-dm355-evm.c +++ b/arch/arm/mach-davinci/board-dm355-evm.c @@ -84,8 +84,9 @@ static struct davinci_nand_pdata davinci_nand_data = { .mask_chipsel = BIT(14), .parts = davinci_nand_partitions, .nr_parts = ARRAY_SIZE(davinci_nand_partitions), - .ecc_mode = NAND_ECC_HW_SYNDROME, + .ecc_mode = NAND_ECC_HW, .options = NAND_USE_FLASH_BBT, + .ecc_bits = 4, }; static struct resource davinci_nand_resources[] = {