linux_dsm_epyc7002/include/linux/mtd
Boris Brezillon 73f907fd5f mtd: nand: Fix data interface configuration logic
When changing from one data interface setting to another, one has to
ensure a specific sequence which is described in the ONFI spec.

One of these constraints is that the CE line has go high after a reset
before a command can be sent with the new data interface setting, which
is not guaranteed by the current implementation.

Rework the nand_reset() function and all the call sites to make sure the
CE line is asserted and released when required.

Also make sure to actually apply the new data interface setting on the
first die.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Fixes: d8e725dd83 ("mtd: nand: automate NAND timings selection")
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Tested-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
2016-10-28 09:58:36 +02:00
..
bbm.h mtd: onenand: make onenand_scan_bbt() static 2016-01-23 14:00:16 -08:00
blktrans.h
cfi_endian.h
cfi.h mtd: cfi: deinline large functions 2015-05-27 12:42:16 -07:00
concat.h
doc2000.h
flashchip.h
fsmc.h mtd: nand: fsmc: get rid of the fsmc_nand_eccplace struct 2016-05-05 23:51:43 +02:00
ftl.h
gen_probe.h
inftl.h mtd: inftl: kill unused oobinfo field 2016-01-26 10:27:33 -08:00
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h mtd: avoid stack overflow in MTD CFI code 2016-04-03 16:46:24 -07:00
mtd.h mtd: introduce the mtd_pairing_scheme concept 2016-09-15 16:47:56 +02:00
mtdram.h
nand_bch.h mtd: nand: simplify nand_bch_init() usage 2016-03-07 16:23:09 -08:00
nand_ecc.h
nand-gpio.h
nand.h mtd: nand: Fix data interface configuration logic 2016-10-28 09:58:36 +02:00
ndfc.h
nftl.h mtd: nftl: kill unused oobinfo field 2016-01-26 10:27:34 -08:00
onenand_regs.h
onenand.h mtd: onenand: switch to mtd_ooblayout_ops 2016-05-05 23:51:49 +02:00
partitions.h mtd: partitions: support a cleanup callback for parsers 2015-12-09 14:57:44 -08:00
pfow.h mtd: pfow: remove unused variable 2014-05-28 00:05:23 -07:00
physmap.h
pismo.h
plat-ram.h
qinfo.h
sh_flctl.h mtd: sh_flctl: pass FIFO as physical address 2015-12-18 18:27:13 -08:00
sharpsl.h mtd: nand: sharpsl: switch to mtd_ooblayout_ops 2016-05-05 23:51:36 +02:00
spear_smi.h Shiraz has moved 2014-04-18 16:40:08 -07:00
spi-nor.h mtd: spi-nor: stop passing around retlen 2016-06-01 17:22:52 -07:00
super.h
ubi.h UBI: Add initial support for scatter gather 2015-01-28 16:04:26 +01:00
xip.h