[U-Boot] [PATCH] nds32: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj at renesas.com
Wed Apr 18 04:41:14 CEST 2012


With almost all the architecture and board BOARD_LATE_INIT does not use.
CONFIG_BOARD_LATE_INIT is used instead.
This changed CONFIG_BOARD_LATE_INIT from BOARD_LATE_INIT.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
CC: Macpaul Lin <macpaul at andestech.com>
---
 arch/nds32/lib/board.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 074aabf..a043b43 100644
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
@@ -408,7 +408,7 @@ void board_init_r(gd_t *id, ulong dest_addr)
 		copy_filename(BootFile, s, sizeof(BootFile));
 #endif
 
-#ifdef BOARD_LATE_INIT
+#ifdef CONFIG_BOARD_LATE_INIT
 	board_late_init();
 #endif
 
-- 
1.7.9.5



More information about the U-Boot mailing list