Watch
1
0
Fork
You've already forked kernel_a52xq
0
mirror of https://github.com/a52xq-dev/kernel.git synced 2026-11-22 01:46:57 +07:00
kernel_a52xq/drivers/mtd/nand/raw
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Stefan Agner 1cbe30b0dd mtd: rawnand: vf610_nfc: make use of ->exec_op()
This reworks the driver to make use of ->exec_op() callback. The
command sequencer of the VF610 NFC aligns well with the new ops
interface.

The operations are translated to a NFC command code while filling
the necessary registers. Instead of using the special status and
read ID command codes (which require to read status/ID from
special registers instead of the regular data area) the driver
now now uses the main data buffer for all commands. This
simplifies the driver as no special casing is needed.

For control data (status byte, id bytes and parameter page) the
driver needs to reverse byte order for little endian CPUs since
the controller seems to store the bytes in big endian order in
the data buffer.

The current state seems to pass MTD tests on a Colibri VF61.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-03-17 15:35:31 +01:00
..
atmel
bcm47xxnflash
brcmnand
gpmi-nand
ams-delta.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
au1550nd.c
bf5xx_nand.c
cafe_nand.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
cmx270_nand.c
cs553x_nand.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
davinci_nand.c
denali.c
denali.h
denali_dt.c
denali_pci.c
diskonchip.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
docg4.c
fsl_elbc_nand.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
fsl_ifc_nand.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
fsl_upm.c
fsmc_nand.c mtd: nand: fsmc: use ->exec_op() 2018-02-17 09:29:50 +01:00
gpio.c
hisi504_nand.c
jz4740_nand.c
jz4780_bch.c
jz4780_bch.h
jz4780_nand.c
Kconfig Remove the pxa3xx_nand driver (replaced by marvell_nand). 2018-03-02 22:57:43 +01:00
lpc32xx_mlc.c
lpc32xx_slc.c
Makefile Remove the pxa3xx_nand driver (replaced by marvell_nand). 2018-03-02 22:57:43 +01:00
marvell_nand.c Remove the pxa3xx_nand driver (replaced by marvell_nand). 2018-03-02 22:57:43 +01:00
mpc5121_nfc.c
mtk_ecc.c
mtk_ecc.h
mtk_nand.c
mxc_nand.c
nand_amd.c
nand_base.c
nand_bbt.c
nand_bch.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
nand_ecc.c mtd: rawnand: remove STANDALONE compile mode of nand_ecc 2018-03-15 16:42:33 +01:00
nand_hynix.c
nand_ids.c
nand_macronix.c
nand_micron.c
nand_samsung.c
nand_timings.c
nand_toshiba.c
nandsim.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
ndfc.c
nuc900_nand.c
omap2.c
omap_elm.c
orion_nand.c
oxnas_nand.c
pasemi_nand.c
plat_nand.c
qcom_nandc.c
r852.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
r852.h mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
s3c2410.c
sh_flctl.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
sharpsl.c
sm_common.c mtd: rawnand: Replace printk() with appropriate pr_*() macro 2018-03-15 15:57:05 +01:00
sm_common.h
socrates_nand.c
sunxi_nand.c
tango_nand.c
tmio_nand.c
txx9ndfmc.c
vf610_nfc.c mtd: rawnand: vf610_nfc: make use of ->exec_op() 2018-03-17 15:35:31 +01:00
xway_nand.c