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

Koelsch 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 --- board/renesas/koelsch/koelsch.c | 5 ----- include/configs/koelsch.h | 1 - 2 files changed, 6 deletions(-)
diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c index 37202f9..908bc60 100644 --- a/board/renesas/koelsch/koelsch.c +++ b/board/renesas/koelsch/koelsch.c @@ -179,11 +179,6 @@ void dram_init_banksize(void) gd->bd->bi_dram[0].size = KOELSCH_SDRAM_SIZE; }
-int board_late_init(void) -{ - return 0; -} - void reset_cpu(ulong addr) { u8 val; diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index 3ccadd0..27ef283 100644 --- a/include/configs/koelsch.h +++ b/include/configs/koelsch.h @@ -58,7 +58,6 @@ #define CONFIG_CMDLINE_EDITING
#define CONFIG_OF_LIBFDT -#define BOARD_LATE_INIT
#define CONFIG_BAUDRATE 38400 #define CONFIG_BOOTDELAY 3

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

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 --- 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
participants (1)
-
Nobuhiro Iwamatsu