]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi_nand_spl: Use SYS_NAND_SELF_INIT and only do nand init when necessary
authorHans de Goede <hdegoede@redhat.com>
Sat, 15 Aug 2015 09:55:26 +0000 (11:55 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 10:19:13 +0000 (12:19 +0200)
commit8a450fd9b7437ed2d45edd666e92ebeee4c9716d
tree5cffd3d329b13fcb94b3ef2f3bbb5406afd2f814
parent3469de7b78073576d13756e0dce4ae5d6a5f1559
sunxi_nand_spl: Use SYS_NAND_SELF_INIT and only do nand init when necessary

Use SYS_NAND_SELF_INIT and only setup the pinmux and clocks when we are
actually using the nand.

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