[U-Boot] [PATCH 19/22] ppc: xilinx_ppc405_generic: Remove uncalled functions

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Tue Jan 26 11:24:22 CET 2016


board_pre_init was not called because CONFIG_BOARD_EARLY_INIT_F was not
set. Remove unused function.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda at gmail.com>
---
 board/xilinx/ppc405-generic/xilinx_ppc405_generic.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c b/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c
index 5c19ac0e6a34..3729f07624a3 100644
--- a/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c
+++ b/board/xilinx/ppc405-generic/xilinx_ppc405_generic.c
@@ -15,11 +15,6 @@ ulong get_PCI_freq(void)
 	return 0;
 }
 
-int board_pre_init(void)
-{
-	return 0;
-}
-
 int checkboard(void)
 {
 	puts("Xilinx PPC405 Generic Board\n");
-- 
2.7.0.rc3



More information about the U-Boot mailing list