aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMiquel Raynal2018-02-28 20:51:50 +0100
committerMaxime Ripard2018-04-03 12:11:17 +0200
commita084cb6664e0de40f33da1c8ec6de816a9852f6d (patch)
tree8128a66e6e35f1dbdba3def90f4926c0b58e5263 /Documentation
parent781e70cff12916ae6698cc77a22e0ce687f39e3b (diff)
spl: nand: sunxi: create an helper to handle command execution
Executing a command is matter of always doing the following sequence: * Waiting for the FIFO to be empty so we can fill it with the new command. * Clearing the status register. * Writing the command in the FIFO. * Waiting for the command to finish. Add a nand_exec_cmd() helper to handle this instead of repeating the logic through the various functions. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions