From patchwork Thu Sep 17 03:00:13 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: 48201 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 n8H32jbL032375 for ; Thu, 17 Sep 2009 03:02:46 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 n8H31R6R003297; Wed, 16 Sep 2009 22:01:28 -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 n8H31RdV018042; Wed, 16 Sep 2009 22:01:27 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 7F126806A5; Wed, 16 Sep 2009 22:00:26 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dlep34.itg.ti.com (dlep34.itg.ti.com [157.170.170.115]) by linux.omap.com (Postfix) with ESMTP id 395EC8099A for ; Wed, 16 Sep 2009 22:00:16 -0500 (CDT) Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id n8H30DJP028320; Wed, 16 Sep 2009 22:00:14 -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 n8H30DZ28143; Wed, 16 Sep 2009 22:00:13 -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 n8H30DUB009792; Wed, 16 Sep 2009 23:00:13 -0400 Received: (from a0869522@localhost) by gt9szxw61.gt.design.ti.com (8.13.1/8.13.1/Submit) id n8H30DEr009789; Wed, 16 Sep 2009 23:00:13 -0400 From: nsnehaprabha@ti.com To: davinci-linux-open-source@linux.davincidsp.com Date: Wed, 16 Sep 2009 23:00:13 -0400 Message-Id: <1253156413-9765-1-git-send-email-nsnehaprabha@ti.com> X-Mailer: git-send-email 1.6.0.4 Cc: Subject: [PATCH] DM365: 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@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@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-dm365-evm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-davinci/board-dm365-evm.c b/arch/arm/mach-davinci/board-dm365-evm.c index f6adf79..a564348 100644 --- a/arch/arm/mach-davinci/board-dm365-evm.c +++ b/arch/arm/mach-davinci/board-dm365-evm.c @@ -145,6 +145,7 @@ static struct davinci_nand_pdata davinci_nand_data = { .nr_parts = ARRAY_SIZE(davinci_nand_partitions), .ecc_mode = NAND_ECC_HW, .options = NAND_USE_FLASH_BBT, + .ecc_bits = 4, }; static struct resource davinci_nand_resources[] = {