summaryrefslogtreecommitdiff
path: root/scripts/basic/Makefile
diff options
context:
space:
mode:
authorMiquel Raynal <[email protected]>2018-02-28 20:51:47 +0100
committerMaxime Ripard <[email protected]>2018-04-03 12:11:04 +0200
commit28f7a9d375c8bc7a30563b8d995b9baa355c7e41 (patch)
treeec067ee6f0c326340ad1070a53067c18d54253f2 /scripts/basic/Makefile
parent802f766994ded5afc9d89e93556011063a430e0d (diff)
spl: nand: sunxi: introduce the nand_wait_int() helper
The pattern of polling on a status register until a bit is set or a timeout occurs is repeated multiple times in the driver. Mutualize the code by introducing the nand_wait_int() helper that does wait for the bit to flip or returns an error in case of timeout. Signed-off-by: Miquel Raynal <[email protected]> Acked-by: Boris Brezillon <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions