[U-Boot] [PATCH 20/22] ppc: xilinx_ppc440_generic: Remove uncalled functions

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Tue Jan 26 11:24:23 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/ppc440-generic/xilinx_ppc440_generic.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c b/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
index 52c63f20583e..0e3ab94e31ef 100644
--- a/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
+++ b/board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
@@ -10,11 +10,6 @@
 #include <common.h>
 #include <asm/processor.h>
 
-int board_pre_init(void)
-{
-	return 0;
-}
-
 int checkboard(void)
 {
 	puts("Xilinx PPC440 Generic Board\n");
-- 
2.7.0.rc3



More information about the U-Boot mailing list