[U-Boot] [PATCH 3/3] arm: rmobile: alt: Remove board_late_init function

Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj at renesas.com
Thu Nov 6 07:43:36 CET 2014


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 at renesas.com>
---
 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 5c5a86f..cf6d64c 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 7bd649f..c0b403c 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.1.1



More information about the U-Boot mailing list