diff mbox

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

Message ID 1334716874-8383-1-git-send-email-nobuhiro.iwamatsu.yj@renesas.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Nobuhiro Iwamatsu April 18, 2012, 2:41 a.m. UTC
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>
---
 arch/nds32/lib/board.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tom Rini Oct. 17, 2012, 2:55 p.m. UTC | #1
On Tue, Apr 17, 2012 at 04:41:14PM -0000, Nobuhiro Iwamatsu wrote:

> 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>

Modified to apply again, applied to u-boot/master, thanks!
Macpaul Lin Oct. 25, 2012, 7:03 a.m. UTC | #2
Hi Tom,

2012/10/17 Tom Rini <trini@ti.com>

> On Tue, Apr 17, 2012 at 04:41:14PM -0000, Nobuhiro Iwamatsu wrote:
>
> > 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>
>
> Modified to apply again, applied to u-boot/master, thanks!
>
>
This was strange. I didn' found the original patch in my mailbox of
macpaul@andestech.com.
I guess I'd better to ask IT to figure out the problem.
Anyway. Thanks Tom and Nobuhiron. :)
diff mbox

Patch

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