summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-12-20 04:00:43 +0100
committerMarek Vasut <marex@denx.de>2015-12-22 21:30:02 +0100
commit8f7ed08eb35e7c9660ee7c0bd3df5661ee9a2638 (patch)
tree339f854019ef5cce70c7ed2fccfd7deb4a1f753e /arch/arm/mach-socfpga
parentac242e16258c943f6d2e0dd10898e4cc6a6339ca (diff)
downloadu-boot-imx-8f7ed08eb35e7c9660ee7c0bd3df5661ee9a2638.zip
u-boot-imx-8f7ed08eb35e7c9660ee7c0bd3df5661ee9a2638.tar.gz
u-boot-imx-8f7ed08eb35e7c9660ee7c0bd3df5661ee9a2638.tar.bz2
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>
Diffstat (limited to 'arch/arm/mach-socfpga')
-rw-r--r--arch/arm/mach-socfpga/misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index a54d2b9..9b43b92 100644
--- a/arch/arm/mach-socfpga/misc.c
+++ b/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;
}