From patchwork Wed Jun 24 21:33:09 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Brownell X-Patchwork-Id: 32491 Delivered-To: khilman@deeprootsystems.com Received: by 10.150.11.20 with SMTP id 20cs458105ybk; Wed, 24 Jun 2009 14:34:32 -0700 (PDT) Received: by 10.151.139.7 with SMTP id r7mr3357637ybn.109.1245879272284; Wed, 24 Jun 2009 14:34:32 -0700 (PDT) Return-Path: Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by mx.google.com with ESMTP id 21si4719492gxk.30.2009.06.24.14.34.31; Wed, 24 Jun 2009 14:34:31 -0700 (PDT) Received-SPF: pass (google.com: domain of davinci-linux-open-source-bounces@linux.davincidsp.com designates 198.47.26.153 as permitted sender) client-ip=198.47.26.153; DomainKey-Status: bad (test mode) Authentication-Results: mx.google.com; spf=pass (google.com: domain of davinci-linux-open-source-bounces@linux.davincidsp.com designates 198.47.26.153 as permitted sender) smtp.mail=davinci-linux-open-source-bounces@linux.davincidsp.com; domainkeys=hardfail (test mode) header.From=david-b@pacbell.net Received: from dlep35.itg.ti.com ([157.170.170.118]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id n5OLXM2d030202; Wed, 24 Jun 2009 16:33: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 n5OLXMd4009128; Wed, 24 Jun 2009 16:33:22 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id C37438062A; Wed, 24 Jun 2009 16:33:21 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id 7B80280626 for ; Wed, 24 Jun 2009 16:33:18 -0500 (CDT) Received: from medina.ext.ti.com (localhost [127.0.0.1]) by dflp52.itg.ti.com (8.13.7/8.13.7) with ESMTP id n5OLXI5b018119 for ; Wed, 24 Jun 2009 16:33:18 -0500 (CDT) Received: from mail129-va3-R.bigfish.com (mail-va3.bigfish.com [216.32.180.113]) by medina.ext.ti.com (8.13.7/8.13.7) with ESMTP id n5OLXCB1029995 for ; Wed, 24 Jun 2009 16:33:18 -0500 Received: from mail129-va3 (localhost.localdomain [127.0.0.1]) by mail129-va3-R.bigfish.com (Postfix) with ESMTP id BA7FA156049D for ; Wed, 24 Jun 2009 21:33:12 +0000 (UTC) X-SpamScore: 10 X-BigFish: vps10(z1857rzzz1202hzzz2dh6bh17ch5eh65h) X-Spam-TCS-SCL: 4:0 X-FB-SS: 5, X-MS-Exchange-Organization-Antispam-Report: OrigIP: 67.195.14.111; Service: EHS Received: by mail129-va3 (MessageSwitch) id 1245879191376604_11961; Wed, 24 Jun 2009 21:33:11 +0000 (UCT) Received: from smtp108.sbc.mail.gq1.yahoo.com (smtp108.sbc.mail.gq1.yahoo.com [67.195.14.111]) by mail129-va3.bigfish.com (Postfix) with SMTP id 1A1CD2F8050 for ; Wed, 24 Jun 2009 21:33:11 +0000 (UTC) Received: (qmail 95565 invoked from network); 24 Jun 2009 21:33:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=pacbell.net; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:From:To:Subject:Date:User-Agent:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-Disposition:Message-Id; b=w5743IFrzcQ2/HTiJqtoi4OwhFAJ3Ac7WJ4Q4TLJFvw5DMd1QPXEIKHnBCE3XBdn1Ehhqg8HClNINehgJJY4os9UZQSuwoRnj3Ivuc6/8CE33SYDF60ynQLqjzowwFemBSK9VVgXfFJUEOoqW86Pax6boXYpcRR324HZupzAvyo= ; Received: from unknown (HELO albert) (david-b@69.226.220.141 with plain) by smtp108.sbc.mail.gq1.yahoo.com with SMTP; 24 Jun 2009 21:33:10 -0000 X-YMail-OSG: coftPfQVM1nBXAB90Tk7jB6F9N8Um0t_1dvY065aufQiRnEOFQRou8V6yyrf2IZL7bzZssXjtsCESuHpDNpIYnin82wIsFUAN7pD.VqAwnKbLKSltIo8YzBTewCCdQeR4So2DPwJgVpj8utuppNZNc5nOSMNGMYS7ZC923A_F9hD4Z.gjLbd8Mld2.LxkepBiEbR2BDIxQ.rIUhOyFMmdc5vkgEqesPhitAb6EbDkgW1k5oFazumo_ulx7uuAwNo19k60hpbnECJjSiOXPT9DoQemnjnaSak8DiQshzI1cFtCEBnBFvkhjuSuQ-- X-Yahoo-Newman-Property: ymail-3 From: David Brownell To: DaVinci Date: Wed, 24 Jun 2009 14:33:09 -0700 User-Agent: KMail/1.9.10 Message-Id: <200906241433.09274.david-b@pacbell.net> Subject: [patch] remove ancient NAND_ECC_HWx_y symbols 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 MIME-Version: 1.0 From: David Brownell Remove some remnants of ancient NAND code that have been lingering in the DaVinci tree ... so this tree is a closer match to mainline. Signed-off-by: David Brownell --- drivers/mtd/nand/nand_base.c | 7 ------- include/linux/mtd/nand.h | 7 ------- 2 files changed, 14 deletions(-) _______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c @@ -2671,13 +2671,6 @@ int nand_scan_tail(struct mtd_info *mtd) */ switch (chip->ecc.mode) { -#ifdef CONFIG_NAND_FLASH_HW_ECC - case NAND_ECC_HW12_2048: - case NAND_ECC_HW8_512: - case NAND_ECC_HW6_512: - case NAND_ECC_HW3_512: - case NAND_ECC_HW3_256: -#endif case NAND_ECC_HW: /* Use standard hwecc read page function ? */ if (!chip->ecc.read_page) --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -121,13 +121,6 @@ typedef enum { NAND_ECC_SOFT, NAND_ECC_HW, NAND_ECC_HW_SYNDROME, -#ifdef CONFIG_NAND_FLASH_HW_ECC - NAND_ECC_HW3_256, - NAND_ECC_HW3_512, - NAND_ECC_HW6_512, - NAND_ECC_HW8_512, - NAND_ECC_HW12_2048, -#endif } nand_ecc_modes_t; /*