[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170928005756.3938-1-kalyan.kinthada@alliedtelesis.co.nz>
Date: Thu, 28 Sep 2017 13:57:55 +1300
From: Kalyan Kinthada <kalyan.kinthada@...iedtelesis.co.nz>
To: dwmw2@...radead.org, computersforpeace@...il.com,
boris.brezillon@...e-electrons.com, marek.vasut@...il.com,
richard@....at, cyrille.pitchen@...ev4u.fr, robh+dt@...nel.org,
mark.rutland@....com, ezequiel.garcia@...e-electrons.com,
miquel.raynal@...e-electrons.com, devicetree@...r.kernel.org
Cc: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org,
chris.packham@...iedtelesis.co.nz,
Kalyan Kinthada <kalyan.kinthada@...iedtelesis.co.nz>
Subject: [PATCH v3 0/1] Set FORCE_CSX bit when arbitration between NAND and NOR is enabled.
When the arbitration between NOR and NAND flash is enabled
the <FORCE_CSX> 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.
Changes since v2:
Thanks Miquel RAYNAL for the suggestion.
* "mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants."
Modified commit message to mention that this change does not apply
for pxa3xx variants.
Fixed the missing space in comments.
Removed unused macros "NDCR_ND_MODE" and "NDCR_NAND_MODE".
Changes since v1:
Thanks Miquel RAYNAL for the suggestion.
* Deleted: "dt-bindings: mtd: pxa3xx: Add "marvell,nand-force-csx" compatible string"
Not necessary to create a new compatible string.
* "mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants."
Modified commit message.
This commit sets the FORCE_CSX bit for all ARMADA370 variants.
-----
Kalyan Kinthada (1):
mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants.
drivers/mtd/nand/pxa3xx_nand.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
--
2.14.1
Powered by blists - more mailing lists