summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-03-09 17:50:36 +0300
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-03-17 17:35:31 +0300
commit1cbe30b0ddc7afa3009dbe10f1c3d34f5adbef3f (patch)
treebce8afc1beb670a2dbe0480678905f495a6ab9e2 /tools/perf/scripts/python
parent828814e6a4cf2337be7cfde0b35b60a13cbc1ee7 (diff)
downloadlinux-1cbe30b0ddc7afa3009dbe10f1c3d34f5adbef3f.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions