]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
sunxi_nand_spl: Turn off clocks when we're done with the nand
authorHans de Goede <hdegoede@redhat.com>
Sat, 15 Aug 2015 09:59:25 +0000 (11:59 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:13 +0000 (12:19 +0200)
commit24ae86bbe816da276f4fbf3ff9feae237f9ef319
tree56ed70cde17e29e6565c9fb61cb88debf8e4334e
parent5dddc76be90b9a0d10a3c7d9aa152813af4c183b
sunxi_nand_spl: Turn off clocks when we're done with the nand

Turn off the nand and dma clocks when we're done with the nand, this
puts the nand and dma controllers back into a clean state for when the
kernel boots.

Without this the kernel will not boot properly when it is built with
dma-controller support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/mtd/nand/sunxi_nand_spl.c