From: Marek Vasut Date: Sun, 20 Dec 2015 03:00:43 +0000 (+0100) Subject: arm: socfpga: Unreset NAND in U-Boot X-Git-Tag: v2016.01-rc4~17^2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8f7ed08eb35e7c9660ee7c0bd3df5661ee9a2638;p=u-boot arm: socfpga: Unreset NAND in U-Boot Make sure the NAND reset is not asserted in full U-Boot. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index a54d2b9faa..9b43b92f5b 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; }