Explorar o código

arm: socfpga: Unreset NAND in U-Boot

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>
Marek Vasut %!s(int64=9) %!d(string=hai) anos
pai
achega
8f7ed08eb3
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      arch/arm/mach-socfpga/misc.c

+ 4 - 0
arch/arm/mach-socfpga/misc.c

@@ -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;
 }