From patchwork Mon Mar 27 10:26:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sekhar Nori X-Patchwork-Id: 96061 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1156760qgd; Mon, 27 Mar 2017 03:29:06 -0700 (PDT) X-Received: by 10.99.136.199 with SMTP id l190mr23387453pgd.92.1490610545949; Mon, 27 Mar 2017 03:29:05 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id e8si170952plk.325.2017.03.27.03.29.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Mar 2017 03:29:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org; dkim=neutral (body hash did not verify) header.i=@ti.com; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ti.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hZe+VS7B5l73Kn1+MHW50d9+d6PZEhnrATUMLUdYfio=; b=eA8gNQQpK9egx2 i65siw6C4iScq5+BzkxfMVCaccAVyH3AYXW3WKU4GRfPitywzbEX2HxsJKG8u+eTYLKFieOsv5V9r FLlfpnnUasEgGlZ8yYYasJREyUbl/mgykhb5MY2psssvOkxghLmmPHqyfQiTnkIyLApy9IYiEZ4aF NB5kUzKO0nCSLnjfqVQW3rBPTVxyghKE6mTcJS6VTDM0Oopk3FrZc47P5xyYy8mYh1hjqi+nQSvev ZRSVkXrul2j9E8F3fgGLNUO/j1py5OiPRsLyUNnaGmT00Jg2+22nH/FsQlRi7cHbYkQ8KV3AfbLTl 4nUz4/eQrXxla4ZVG+dg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1csRtV-0004Ft-1F; Mon, 27 Mar 2017 10:29:01 +0000 Received: from fllnx209.ext.ti.com ([198.47.19.16]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1csRtR-0004EY-LI for linux-mtd@lists.infradead.org; Mon, 27 Mar 2017 10:28:59 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v2RAR5bu006247; Mon, 27 Mar 2017 05:27:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1490610425; bh=HB7U+unXyYSND/GBmxLrLtQdHyYzqmIrCpcNX++eMic=; h=From:To:CC:Subject:Date; b=ZsWzeFW6E07SS6q7UWUMp4PNksrSzQMWXzqG0KOg1RG7gpNuunaEcWD7+nW4AADjt oGZrWSE5kjshsoJgzcngkacsebBrmpYw2Suxg0OqEXp6edCJTblfRHhX5ov/hrQYoM 77+chtj3+t9SBYzvDEaw7T/REQix19boH0s1cWs0= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2RAR0fw004641; Mon, 27 Mar 2017 05:27:00 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Mon, 27 Mar 2017 05:26:59 -0500 Received: from psplinux063.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2RAQtHl011559; Mon, 27 Mar 2017 05:26:56 -0500 From: Sekhar Nori To: Boris Brezillon Subject: [PATCH] Revert "mtd: davinci-nand: disable subpage write for keystone-nand" Date: Mon, 27 Mar 2017 15:56:55 +0530 Message-ID: <9d21903d38de6685c9bf45d6eb8e32ab0e8c65c5.1490609415.git.nsekhar@ti.com> X-Mailer: git-send-email 2.9.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170327_032857_808965_8D871062 X-CRM114-Status: UNSURE ( 6.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Richard Weinberger , linux-kernel@vger.kernel.org, Marek Vasut , Muralidharan Karicheri , linux-mtd@lists.infradead.org, Cyrille Pitchen , Brian Norris , David Woodhouse , Franklin S Cooper Jr Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This partly reverts commit 28c015a9daabe4ed3aeb0ccf669a3f1c2b8b81d5. Since f6d7c1b5598b ("mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl") using subpage and 4bit HWECC works. Revert the original workaround made for this. Tested with mtd_subpagetest and UBIFS on K2E, K2HK, K2L EVMs. The addition of keystone specific compatible to davinci_nand_of_match[] contained in original commit is retained. Cc: Muralidharan Karicheri Cc: Franklin S Cooper Jr Signed-off-by: Sekhar Nori --- drivers/mtd/nand/davinci_nand.c | 5 ----- 1 file changed, 5 deletions(-) -- 2.9.0 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index 27fa8b87cd5f..56c4afed8d74 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -580,11 +580,6 @@ static struct davinci_nand_pdata if (of_property_read_bool(pdev->dev.of_node, "ti,davinci-nand-use-bbt")) pdata->bbt_options = NAND_BBT_USE_FLASH; - - if (of_device_is_compatible(pdev->dev.of_node, - "ti,keystone-nand")) { - pdata->options |= NAND_NO_SUBPAGE_WRITE; - } } return dev_get_platdata(&pdev->dev);