public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCHv4 0/1] Set FORCE_CSX bit when arbitration between NAND and NOR is enabled
@ 2017-12-21 23:19 Chris Packham
  2017-12-21 23:19 ` [PATCHv4 1/1] mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants Chris Packham
  0 siblings, 1 reply; 6+ messages in thread
From: Chris Packham @ 2017-12-21 23:19 UTC (permalink / raw)
  To: ezequiel.garcia, boris.brezillon, richard, dwmw2,
	computersforpeace, marek.vasut, cyrille.pitchen, miquel.raynal,
	linux-mtd
  Cc: linux-kernel, Chris Packham

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 <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.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-08  4:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-21 23:19 [PATCHv4 0/1] Set FORCE_CSX bit when arbitration between NAND and NOR is enabled Chris Packham
2017-12-21 23:19 ` [PATCHv4 1/1] mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants Chris Packham
2017-12-22 15:53   ` Miquel RAYNAL
2017-12-22 16:55     ` Ezequiel Garcia
2018-01-07 22:35       ` Chris Packham
2018-01-08  4:06         ` Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox