]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: socfpga: Unreset NAND in U-Boot
authorMarek Vasut <marex@denx.de>
Sun, 20 Dec 2015 03:00:43 +0000 (04:00 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 22 Dec 2015 20:30:02 +0000 (21:30 +0100)
Make sure the NAND reset is not asserted in full U-Boot.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Chin Liang See <clsee@altera.com>
arch/arm/mach-socfpga/misc.c

index a54d2b9faaa60a5201060c40f3d187b7b4eef656..9b43b92f5bcd5faba60f691dc1cced2321b69593 100644 (file)
@@ -359,6 +359,10 @@ int arch_early_init_r(void)
        socfpga_per_reset(SOCFPGA_RESET(SPIM1), 0);
 #endif
 
+#ifdef CONFIG_NAND_DENALI
+       socfpga_per_reset(SOCFPGA_RESET(NAND), 0);
+#endif
+
        return 0;
 }