From: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Date: Thu, 6 Nov 2014 06:43:36 +0000 (+0900)
Subject: arm: rmobile: alt: Remove board_late_init function
X-Git-Tag: v2025.01-rc5-pxa1908~14308^2~13
X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=9502d03674e220d3f9efbb4420abe8d167460ba6;p=u-boot.git

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

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