[U-Boot] [PATCH 2/2] Blackfin: nand: support delayed initialization
Mike Frysinger
vapier at gentoo.org
Wed Sep 22 01:45:36 CEST 2010
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
arch/blackfin/lib/board.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/blackfin/lib/board.c b/arch/blackfin/lib/board.c
index 7649f9a..02a5ee9 100644
--- a/arch/blackfin/lib/board.c
+++ b/arch/blackfin/lib/board.c
@@ -346,7 +346,7 @@ void board_init_r(gd_t * id, ulong dest_addr)
bd->bi_flashoffset = 0;
#endif
-#ifdef CONFIG_CMD_NAND
+#if defined(CONFIG_CMD_NAND) && !defined(CONFIG_SYS_NAND_DELAYED_INIT)
puts("NAND: ");
nand_init(); /* go init the NAND */
#endif
--
1.7.2.3
More information about the U-Boot
mailing list