Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754893AbdLUX2B (ORCPT ); Thu, 21 Dec 2017 18:28:01 -0500 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:39958 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752301AbdLUX16 (ORCPT ); Thu, 21 Dec 2017 18:27:58 -0500 X-Greylist: delayed 511 seconds by postgrey-1.27 at vger.kernel.org; Thu, 21 Dec 2017 18:27:58 EST From: Chris Packham To: ezequiel.garcia@free-electrons.com, boris.brezillon@free-electrons.com, richard@nod.at, dwmw2@infradead.org, computersforpeace@gmail.com, marek.vasut@gmail.com, cyrille.pitchen@wedev4u.fr, miquel.raynal@free-electrons.com, linux-mtd@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Chris Packham Subject: [PATCHv4 0/1] Set FORCE_CSX bit when arbitration between NAND and NOR is enabled Date: Fri, 22 Dec 2017 12:19:03 +1300 Message-Id: <20171221231904.21140-1-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 946 Lines: 25 Note: I've picked this up from Kalyan to try and get things into shape for submission upstream. When the arbitration between NOR and NAND flash is enabled the field bit[21] in the Data Flash Control Register needs to be set to 1 according to guidleine GL-5830741 mentioned in Marvell Errata document MV-S501377-00, Rev. D. Set the FORCE_CSX bit in NDCR for ARMADA370 variants as the arbitration is always enabled by default. This change does not apply for pxa3xx variants because FORCE_CSX bit does not exist/reserved on the NFCv1. Ran the "flash_speed" tool on NAND flash on a board with Armada-xp based SoC which uses only one NAND chip and not using the arbiter. There is no regression or speed penalty introduced due to this change. Kalyan Kinthada (1): mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants drivers/mtd/nand/pxa3xx_nand.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) -- 2.15.1