]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
sunxi_nand_spl: clear status flags in SPL implementation
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Sat, 29 Aug 2015 10:29:38 +0000 (12:29 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:14 +0000 (12:19 +0200)
commit299f0b3fc697d64b996350ce34e552f915ca63d3
tree18c8e5b3c941f2b0a9d3438866d2ff489b7d0d60
parenta79b31b5f9451c6df3466010858864ec256389f7
sunxi_nand_spl: clear status flags in SPL implementation

Some status flags remain set until you explicetly clear the bit
in the status register.
Fix the SPL implementation to avoid false positive.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[hdegoede@redhat.com: Port from v2015.07 to v2015.10]
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/mtd/nand/sunxi_nand_spl.c