remarkable-linux/include/linux/mtd
Uwe Kleine-König 05f7835975 mtd: nand: don't use {read,write}_buf for 8-bit transfers
According to the Open NAND Flash Interface Specification (ONFI) Revision
3.1 "Parameters are always transferred on the lower 8-bits of the data
bus." for the Get Features and Set Features commands.

So using read_buf and write_buf is wrong for 16-bit wide nand chips as
they use I/O[15:0]. The Get Features command is easily fixed using 4
times the read_byte callback. For Set Features implement a new
overwritable callback "write_byte". Still I expect the default to work
just fine for all controllers and making it overwriteable was just done
for symmetry.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
[Brian: fixed warning]
Tested-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2014-01-14 17:22:37 -08:00
..
bbm.h mtd: nand_bbt: kill NAND_BBT_SCANALLPAGES 2013-11-06 23:33:14 -08:00
blktrans.h
cfi.h
cfi_endian.h
concat.h
doc2000.h
flashchip.h
fsmc.h
ftl.h
gen_probe.h
inftl.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h mtd: map: fixed bug in 64-bit systems 2013-11-06 23:32:59 -08:00
mtd.h mtd: Move major number definitions to major.h 2013-11-06 23:32:59 -08:00
mtdram.h
nand-gpio.h
nand.h mtd: nand: don't use {read,write}_buf for 8-bit transfers 2014-01-14 17:22:37 -08:00
nand_bch.h
nand_ecc.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
partitions.h mtd: make register_mtd_parser return void 2014-01-03 11:22:22 -08:00
pfow.h
physmap.h
pismo.h
plat-ram.h
qinfo.h
sh_flctl.h
sharpsl.h
spear_smi.h
super.h
ubi.h
xip.h