aboutsummaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2012-04-17 16:41:14 +0000
committerTom Rini <trini@ti.com>2012-10-17 07:55:50 -0700
commit6abcf2d53148210111a06fe4d43fb36ea4be85a0 (patch)
tree661721db1d20f99a988361736b85689ddcd1f7ae /arch/nds32
parent74620e1c94565b835c7b6eb34db9b67bfc898bc4 (diff)
downloadu-boot-linaro-stable-6abcf2d53148210111a06fe4d43fb36ea4be85a0.tar.gz
nds32: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT
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@renesas.com> CC: Macpaul Lin <macpaul@andestech.com> [trini: Fixup for context changes] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/lib/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 89900fea4..875f22013 100644
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
@@ -396,7 +396,7 @@ void board_init_r(gd_t *id, ulong dest_addr)
/* Initialize from environment */
load_addr = getenv_ulong("loadaddr", 16, load_addr);
-#ifdef BOARD_LATE_INIT
+#ifdef CONFIG_BOARD_LATE_INIT
board_late_init();
#endif