diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-02-16 15:22:47 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-02-17 09:25:46 +0100 |
commit | 4df6ed4f0ac9a1bb776eabb5a669321b68296ff2 (patch) | |
tree | 02ca0e8a751f3e2f2898013a9c3e8f9b199a3c1c /.mailmap | |
parent | 9c3736a3de21d916a6af0594418b85a112f4bef6 (diff) | |
download | lwn-4df6ed4f0ac9a1bb776eabb5a669321b68296ff2.tar.gz lwn-4df6ed4f0ac9a1bb776eabb5a669321b68296ff2.zip |
mtd: nand: fsmc: get rid of IO_ADDR_[R|W]
Remove the use of IO_ADDR_[R|W] in the fsmc_nand driver. Instead, use a
pointer to the control registers to avoid doing several arithmetic
operations (including a multiplication) each time a control register is
read or written.
All references to IO_ADDR_[R|W] are not entirely removed from the driver
as, at this time, these values are needed by the NAND core in the
default ->read/write_byte/word() hooks. These references will be
entirely removed when switching to ->exec_op(), that does not make use
of these hooks anymore.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions