]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: nand: sunxi: add missing status clear
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 28 Feb 2018 19:51:49 +0000 (20:51 +0100)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Tue, 3 Apr 2018 10:11:13 +0000 (12:11 +0200)
commit781e70cff12916ae6698cc77a22e0ce687f39e3b
tree143e31970c4642663144a3c0cbf7f3c2a6ecba43
parent60fb17913354757d015ade2b5457675a0506903a
spl: nand: sunxi: add missing status clear

It is best practice to always clear the status register before executing
a command to be sure that the status read afterwards is relevant.

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>
drivers/mtd/nand/sunxi_nand_spl.c