From 9502d03674e220d3f9efbb4420abe8d167460ba6 Mon Sep 17 00:00:00 2001
From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Date: Thu, 6 Nov 2014 15:43:36 +0900
Subject: [PATCH] arm: rmobile: alt: Remove board_late_init function

Alt board does not use board_late_init function.
This removes this function and define of BOARD_LATE_INIT from config.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
 board/renesas/alt/alt.c | 5 -----
 include/configs/alt.h   | 2 --
 2 files changed, 7 deletions(-)

diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c
index 5c5a86f145..cf6d64c49a 100644
--- a/board/renesas/alt/alt.c
+++ b/board/renesas/alt/alt.c
@@ -155,11 +155,6 @@ void dram_init_banksize(void)
 	gd->bd->bi_dram[0].size = ALT_SDRAM_SIZE;
 }
 
-int board_late_init(void)
-{
-	return 0;
-}
-
 void reset_cpu(ulong addr)
 {
 	u8 val;
diff --git a/include/configs/alt.h b/include/configs/alt.h
index 7bd649fb42..c0b403c20a 100644
--- a/include/configs/alt.h
+++ b/include/configs/alt.h
@@ -49,9 +49,7 @@
 #define	CONFIG_SETUP_MEMORY_TAGS
 #define	CONFIG_INITRD_TAG
 #define	CONFIG_CMDLINE_EDITING
-
 #define CONFIG_OF_LIBFDT
-#define BOARD_LATE_INIT
 
 #define CONFIG_BAUDRATE		38400
 #define CONFIG_BOOTDELAY	3
-- 
2.39.5