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

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


Lager 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/lager/lager.c | 5 -----
 include/configs/lager.h     | 1 -
 2 files changed, 6 deletions(-)

diff --git a/board/renesas/lager/lager.c b/board/renesas/lager/lager.c
index 2bb8710..99a298a 100644
--- a/board/renesas/lager/lager.c
+++ b/board/renesas/lager/lager.c
@@ -180,11 +180,6 @@ void dram_init_banksize(void)
 	gd->bd->bi_dram[0].size = LAGER_SDRAM_SIZE;
 }
 
-int board_late_init(void)
-{
-	return 0;
-}
-
 void reset_cpu(ulong addr)
 {
 	u8 val;
diff --git a/include/configs/lager.h b/include/configs/lager.h
index a814b4c..50acbde 100644
--- a/include/configs/lager.h
+++ b/include/configs/lager.h
@@ -58,7 +58,6 @@
 #define	CONFIG_OF_LIBFDT
 
 /* #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